ordering makes no sense here, because of output. Why not natural order?

      bar
      foo
    * master
      remotes/origin/master
      remotes/origin/foo