sort branch targets for better display