better sorting for achievements