dotnet/corefx — pull request #124 by richamsft (2014-11-18 20:53:05+00:00)
Title: Another optimization for ImmutableArray<T>.Builder.Sort to not create Co...

...mparer Wrapper for arrays of size 0 or 1

Added a check for array size in the sort methods before the wrapper gets created
Added a testcase to exercise sorting of 1 element array