Posted on: 5/25/2015 6:46:08 PM | Views : 675

Hello Gurus,
    I have a requirement, based on given value, records should be sorted. For eg : The records are like 1,2,3,4,5  but i need to sort like  5,3,2,4,1 etc.
 i sorted out with 5 on top, but i need remaining as well,Please help me with this.
List<Employee> empList = new List<Employee>();             empList.Add(new Employee() { ID = 1, Name = "John", DOB = DateTime.Parse("12/11/1971") });             empList.Add(new Employee() { ID = 2, Name = "Mary", DOB = DateTime.Parse("01/17/1961") });             empList.Add(new Employee() { ID = 3, Name = "Amber", DOB = DateTime.Parse("12/23/1971") });         &nb ...

Go to the complete details ...