reversed sorter because of bug