I have a WCF Data Service with a custom operation named MostRecentFilms
that returns the 10 most recent films in the source. Each film has, among others, a Year
property. All goes fine with the default setting but when I set the page size for entity sets, config.SetEntitySetPageSize("*", 100)
, the order of returned films are not good. Doesn't matter if the result set has less than 100, they are not properly ordered from more recent to less, how it was returned when the page size restriction wasn't present.
I don't know if this is a WCF Data Service bug or if I'm missing some configuration here. Any help to clarify this will be appreciated.