Special case strings in System.Linq.Enumerable.OrderBy (dotnet/corefx#42286)
authorPaul Westcott <p.westcott@gmail.com>
Thu, 7 Nov 2019 10:59:13 +0000 (21:59 +1100)
committerStephen Toub <stoub@microsoft.com>
Thu, 7 Nov 2019 10:59:13 +0000 (05:59 -0500)
commit7f2c2c0467c29b0f07f5ca8f551291126f8380d6
treee84884e5f4a619c068710814a38e246d541e5cff
parentd323041228ededd045a11643cb95773bd2f71f23
Special case strings in System.Linq.Enumerable.OrderBy (dotnet/corefx#42286)

* Special case strings in OrderBy

* Style change to be more inline with code base, as per review

* Added OrderBy Culture test

* Added different culture OrderBy.ElementAt

* Make the tests Windows specific due to potential unicode ordering differences

* Made sorted result set dynamic due to different culturing sorting of different OSes

* Removed conditional

* Use of ThreadCultureChange, fixed Assert argument ordering

* Delousing...

Commit migrated from https://github.com/dotnet/corefx/commit/749fcdea9873d88c182ad94aef83290e96f95ff1
src/libraries/System.Linq/src/System/Linq/OrderedEnumerable.cs
src/libraries/System.Linq/tests/OrderByTests.cs