fix bug 974544 - remove additional unneseccary sorted function after _do_sort has already sorted.
Merge pull request #2052 from eviljeff/974544a

fix bug 974544 - remove additional unneseccary sorted function after _do_sort has already sorted