-
Type:
Task
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 1.8.3
-
Component/s: None
-
Environment:windows 7 x64
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Hi,
I've been getting an System.ArgumentOutOfRangeException when i attempt to use a custom IComparer with the OrderBy LINQ expression.
var results = collection.AsQueryable<TestClass>().OrderBy( m => m.Id, new NaturalSortComparer<string>() ).ToList();
I've attached a program which demonstrates the problem.
I do have a workaround for this by putting ToList before the OrderBy call but this is not ideal.
Any suggestions?