Copied from <https://github.com/facebook/phabricator/issues/309>
Currently, we sort lists of handles (like dependent tasks or attached revisions) in a relatively arbitrary manner (probably link order?). In some cases, it might make sense to order them by things like priority, ID, or commit date.