I have a column in which I show the email of the user, I have a sort function. But the resulting array is not sorted properly.
Sample code here
Any help would be appreciated
<ul ng-repeat="user in users | orderBy:'email':false">
In the sample code, the [Ascending] sort output is
abc+1@abc.com
abc@abc.com
bac@abc.com
But the expected result
abc@abc.com
abc+1@abc.com
bac@abc.com
javascript angularjs
mulla.azzi
source share