AngularJS: Using ng-repeat with orderBy and track by

Take the following piece of code: <div ng-repeat=”lGroup in lGroups track by $index | orderBy: ‘name'”> I spent the better part of an hour trying to figure out why the repeats were not sorting by name as they should do. The data was an array, the Continue Reading →