Skip to content

use slices.SortFunc instead of other sorting funcs #12426

@sivchari

Description

@sivchari

Currently, we use some both sort and slices package to sort the slice.
slices.SortFunc is more generic and runs faster.
Let'ts replace with slices.SortFunc.

/kind cleanup

Metadata

Metadata

Assignees

Labels

kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.priority/backlogHigher priority than priority/awaiting-more-evidence.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions