zróbmy to tak:

var groups = _.map($scope.G.GROUPS, function(group){ ... };
$scope.groups = $filter('orderBy')(groups, 'name');