Multi-Branch priority sorter

ID: multi-branch-priority-sorter