Revert "this sorting method isn't working"

This reverts commit 1deaf038e56c06c21dfb0f92f1716e4a3cc6c479.