Hi Dojo,
I am using the SrmManagers.ResourceManager.GetReservationInstances method to retrieve a list of reservation instances given a particular filter. I'm noticing the order of the reservation instances returned in the ReservationInstance[] array are different on subsequent calls. Are there any pre-defined sorting methods I can access, or will I need to sort the response myself?
Thanks!
Vish Arivalagan [DevOps Advocate] Selected answer as best 19th February 2024
Hi Vish,
You will have to order it yourself. You can use Enumerable.OrderBy Method (System.Linq) | Microsoft Learn to quickly do that.
Vish Arivalagan [DevOps Advocate] Selected answer as best 19th February 2024