Q:

Updating row mapping after external sorting

I've been using ng-grid (2.0.7) in an AngularJS (1.2.0-rc2) project with an external search function.  My external sort function is working so far, even the grid data gets updated. 
Unfortunately, the rows are keeping their previous order.  How can I tell the grid to update the row order?  I don't want to mess around with ng-grid internals like rowMap and rowCache ...
Thank you in advance for your help!  

A:

There seems to be a bug in this version of ng-grid. 
The following pull request solves this issue: https://github.com/wattsbn/ng-grid/commit/843938d30a157dfabda3f69116561c94f9177e6e

