Sort

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

would like to sort some objects (have some properties like ObjectName,
ValidFrom, ValidTo, Code,..) I would like sort this items via specific order,
for example:
I have a collection of object with Code N, V, C, S, Ts, Tv, B and need o
sort in this order V, N, C, Ts, Tv, B, S.
Is this possible?
 
would like to sort some objects (have some properties like ObjectName,
ValidFrom, ValidTo, Code,..) I would like sort this items via specific
order,
for example:
I have a collection of object with Code N, V, C, S, Ts, Tv, B and need o
sort in this order V, N, C, Ts, Tv, B, S.
Is this possible?

Can you add a property called, say, 'SortOrder' and sort on that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top