Im using this filter https://github.com/a8m/angular-filter#groupby to order my data like so, and it works great:
orderBy filter does not work with objects in ngRepeat. So, what you can do is something like this:
orderBy
ngRepeat
Group name: {{ tags.$key }} {{ tag.name }}
{{ tag.name }}
See: toArray filter