Revert "better sorting"

This reverts commit 4a384dc00135009c2d1f19683a2ab9ee7085faf3.