Local: Fix sorting