Sorter
Facade for the Kindling sort library.
Provides a unified entry point for all sorting algorithms, delegating to SortType for dispatch. Prefer this over calling algorithm objects directly when the sort strategy should be a runtime parameter.
Sorter.sort(array, SortType.INTRO)
Sorter.sort(array, SortType.MERGE, compareByDescending { it.name })
Sorter.sort(intArray, SortType.RADIX)Content copied to clipboard
Functions
Link copied to clipboard
Sorts array using the given comparator and type.