Reputation: 66
Is it not supported to use $orderby in $expand clause? The following link does not sort the OrderID in reverse order.
But it does work without $expand clause like this:
http://services.odata.org/V4/Northwind/Northwind.svc/Orders?$select=OrderID&$orderby=OrderID desc
Upvotes: 3
Views: 1737
Reputation: 3681
This was added in Microsoft.Data.OData v5.8 and isn't supported in the northwind v4 demo at services.odata.org. See the GitHub issue for more details.
http://services.odata.org/V5/Northwind/Northwind.svc is no longer being maintained.
Please refer to the service listing at odata.org for the latest supported OData V4 reference APIs: https://www.odata.org/odata-services/
Upvotes: 1