angular-ui/ng-grid — pull request #2029 by jcompagner (2014-11-06 16:10:43+00:00)
Title: Fix #1856(sorting): row order to follow data order when useExternalSort

lets ui-grid always follows order of the source array, only when ui-grid internally does the sorting it will ignore the order.

a nicer patch for: https://github.com/angular-ui/ng-grid/pull/1881

including 4 tests