curiouswebster
asked on
JavaScript: need to sort an array
I need to sort an array in JavaScript by the listOrder property
var site = $(userListSites[0]).data(' site');
each site object has a listOrder zero based sort index.
I have the code to update those value as the use click buttons to relocate in the list. But now I need to sort that list before recreating the list.
How?
I need LINQ on JS :)
Thanks
var site = $(userListSites[0]).data('
each site object has a listOrder zero based sort index.
I have the code to update those value as the use click buttons to relocate in the list. But now I need to sort that list before recreating the list.
How?
I need LINQ on JS :)
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER