Sort columns for ng-click directives