Fixed broken IOrderedIEnumerable in C# API.