When my BackEndDataProvider
receives a fetch request I can see that sometimes both inMemorySorting and sortOrders have a value. I understand that my DataProvider only must react to one of these for a given fetch request. But which one to prioritize if both are present? (btw: why are they both present? My DataProvider has isInMemory()
returning false).
Never mind: I have decided that - if both are present - that my BackEndDataProvider should prioritize sortOrders property over inMemorySorting property. Seems more natural as I can, in my case, push that all the way to my backend so it has superior value my DataProvider compared to the content of the inMemorySorting property.