Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Multiple Field Sorting by Field Names Using Linq

, 10 Nov 2011
This article presents a small utility class to sort an "IEnumerable" of objects on multiple fields by the field names provided at the run time using Linq. It also presents a WPF example on how to use this utility.

Revisions


  

Compare Revision Minor Date Status Editor
publicly available No 11-Jan-12 14:20 Available Deeksha Shenoy
27 No 10-Nov-11 14:38 Composing Dr. Song Li
26 No 10-Nov-11 14:28 Composing Dr. Song Li
25 No 10-Nov-11 14:16 Composing Dr. Song Li
24 No 10-Nov-11 14:07 Composing Dr. Song Li
23 No 10-Nov-11 14:02 Composing Dr. Song Li
20 No 10-Nov-11 13:10 Composing Dr. Song Li
19 No 10-Nov-11 13:07 Composing Dr. Song Li
18 No 10-Nov-11 11:40 Composing Dr. Song Li
17 No 10-Nov-11 11:31 Composing Dr. Song Li
16 No 10-Nov-11 11:25 Composing Dr. Song Li
15 No 10-Nov-11 11:02 Composing Dr. Song Li
14 No 10-Nov-11 10:28 Composing Dr. Song Li
13 No 10-Nov-11 9:59 Composing Dr. Song Li
12 No 9-Nov-11 16:53 Composing Dr. Song Li
9 No 9-Nov-11 16:34 Composing Dr. Song Li
8 No 9-Nov-11 16:21 Composing Dr. Song Li
7 No 9-Nov-11 16:11 Composing Dr. Song Li
5 No 9-Nov-11 16:00 Composing Dr. Song Li
4 No 9-Nov-11 15:59 Composing Dr. Song Li
3 No 9-Nov-11 15:37 Composing Dr. Song Li
2 No 9-Nov-11 12:52 Composing Dr. Song Li
1 No 9-Nov-11 12:49 Composing Dr. Song Li

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Dr. Song Li

United States United States
I have been working in the IT industry for some time. It is still exciting and I am still learning. I am a happy and honest person, and I want to be your friend.

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 10 Nov 2011
Article Copyright 2011 by Dr. Song Li
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid