don't compare elements with themselves during qsort.