How to order by multiple image state?

Nov 18, 2008 at 9:20 AM
Hello.

I have a question. How do you order the state column, if you have more than two pictures (states) available? I can display the correct image, but ordering doesn't work correctly. In the example are two states ("open" and "close"). Let's say we have an additional state "important". 

In the example with persons in the Comparitor = delegate(object x, object y) {...} block you are returning -1 or 1 for "open" or "close", what should I return for the "important" state?

Best regards.
Nov 20, 2008 at 7:09 AM
Nobody doesn't know?