angular/angular.js — pull request #8112 by deathbob (2014-07-08 21:10:39+00:00)
Title: fix(orderBy): changes orderBy to use case sensitive comparison to break ...

...ties on strings

Previously running orderBy on an array of strings such as ['A cow', 'a cow'] would
result in ['A cow', 'a cow'], regardless of the value of reverseOrder. This is because orderBy cast
all strings to lowercase before comparing them.

This commit changes the behavior to result in ['a cow', 'A cow'] when reverseOrder is true,
and ['A cow', 'a cow'] when reverse order is false.