I have a dynamic collection of objects which I bind to jQuery Template on my page. This collection of objects which I have on client side is a List<T>
returned from my server, where T
can be any object of any class. For example:
Class Employee
{
string Name;
int Id;
int age;
}
Class Companies
{
int CompId;
string CompanyName;
string CompanyLocation;
}
Now Based on user request I will send List<Employee>
or List<Companies>
to client side. Now I was just wondering if we can sort this list at client side using jquery. Any help would be much appreciated.