Sort branch results