How to sort List of objects according to specific field (sort expression) and the direction (sort direction)..
For example :
TransactionList.ToList<UserTransactionDTO>()
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming your list is a list of a custom type and you want to sort by one or multiple properties:
If you want to order descending instead:
Enumerable.OrderByMethod