public void FirstAndLastAreDuplicatesNullPassedAsComparer() { int[] source = { 5, 1, 3, 2, 5 }; int[] expected = { 1, 2, 3, 5, 5 }; Assert.Equal(expected, source.AsQueryable().OrderBy(e => e, null)); }