SOLVED – How linq order by a Hyphen
A list contains a structure like that: ColumnA 0+ABC0-ABC0001000200030004 then sort the list using order by like list. OrdeBy(o=>o.ColumnA).ToList(), the below is the result: 0+ABC00010002000300040-ABC So the question is why “0+ABC” at the top of the list but “0-ABC” is put to the end. it looks like linq sort “+” and “–” using different methods….