mirror of
https://github.com/containers/podman.git
synced 2026-09-13 14:18:49 -04:00
This commit modernizes the codebase by replacing older, reflection-based sort.Slice and sort.SliceIsSorted calls with the modern slices.Sort and slices.SortFunc introduced in Go 1.21. This provides better performance and type safety by utilizing generics rather than runtime reflection. Signed-off-by: Vishnu Kothakapu <vishnukothakapu27@gmail.com>