I have a class like one in which student sit.
i have location like B6 B7 B8 B9 B10 B11
I get it in this order if i use FindAll with in some class(one oops version)
everything goes fine untill i do
someclass.OrderBy(r => r.location);
and after that location becomes B10 B11 B6 B7 B8 B9
what is going wrong here. I am better without using orderBY then but can any one tell me reason for problem I am having ?
You could implement your own custom comparer …
… and use it like so …