Open olevski opened 1 month ago
The current code has this in the sql query:
.order_by(
schemas.ResourcePoolORM.id,
schemas.ResourcePoolORM.name,
schemas.ResourceClassORM.id,
schemas.ResourceClassORM.name,
)
But then we call the unique
method on the sqlalchemy result. And I think that this method messes up the ordering.
On v0.12.0 this is the sorting that shows up![image](https://github.com/SwissDataScienceCenter/renku-data-services/assets/16360283/ad62808c-a3f1-4cf1-8126-40e554a371f0)
We should sort by GPU, CPU, Ram, Disk