Fix sorting of main track achievements on stats page