fixes problem with hhvm, that reveals a code bug!
sorting branches is something that should be done by clients. GitElephant should just returns the git order.