Sorts the given array in-place and removes any duplicates (identified by "===").
Uses Array#sort()
Use jQuery.uniqueSort() for arrays of DOMElements.
jQuery.uniqueSort()