angular/angular.js — pull request #10368 by Rowanto (2014-12-08 13:18:50+00:00)
Title: feat(orderBy): make orderBy filter accept a custom compare function.

Expose the inner compare function used by orderBy to the outside world.
This will make it possible to use orderBy with a very specific sort requirement like sorting using the localeCompare or making a few entries appear first in the list.