I encountered Out Of Mem exception when a huge result set is passed into EnumerableAggregate and get aggregated in memory. I'm thinking if the input is sorted by the group-by key, then the groupBy() don't have to hold all data in memory any more.
So does the Enumerable groupBy() take advantage of input collation currently? Should I open a JIRA for it? Cheers Yang
