Fix issue with tag order, sort branches by ctor name (fixes wrong
executable generated by uhc)