Fixed the ordering of the branches