One limitation down.
Also consider repo path when sorting.

The pair (remote, path) is guaranteed to be unique per-repo, so this
eliminates worries about operation order caused by e.g. whether or not
Ruby's Array#sort is stable.  (IIRC, RubySpec doesn't say that it has to
be.)
Better phrasing.