Thanks to visit codestin.com
Credit goes to api.jquery.com

.uniqueSort()

Sorts a jQuery object of DOM elements, in place, with the duplicates removed. Note that this only works on jQuery objects consisting of DOM elements, not strings or numbers.