Force a sensible order on the branch list