Recomputes pagination first and last IDs after sorting models to ensure consistent ID references match the sorted array order. Prevents potential misalignment between sorted model list and pagination metadata
Recomputes pagination first and last IDs after sorting models to ensure consistent ID references match the sorted array order. Prevents potential misalignment between sorted model list and pagination metadata