I have a column in which i am displaying Email of user, i have added sort functionality to it. But the resultant array is not sorted properly.
Any help will be appreciated
<ul ng-repeat="user in users | orderBy:'email':false">
In the example code, output of sorting [Ascending] is
But Expected output is
not sorted properlymean? Demo seems to work['[email protected]','[email protected]','[email protected]'].sort()produces same order. Has nothing to do with angular itself