Fix sorting for outhop