Fix sorting arrows