Fix sorting bug in pace charts