I use bootstrap to display a grid of projects with each row having 3 columns. For this, I use ng-repeat twice, as shown below.
<div class="row" ng-repeat="chunk in projects">
<div class="col-sm-4" ng-repeat="project in chunk | orderBy:'title'">
{{project.title}}
</div>
</div>
I want to be able to sort the project based on its name. Applying a filter only sorts a subset of the entire list, that is, it sorts at the piece level, not at the project level.
var projects = [[{"title":"Z"},{"title":"A"},{"title":"M"}],
[{"title":"Z"},{"title":"A"},{"title":"M"}]];
After completing orderBy the line AMZ, AM Z. How do I get it to display AAM, MZZ?
Below is the plunk for the indicated problem. // EDIT: the above plunk points to a solution because I updated plunk.