Sort by using an index to remap the elements.
TODO This is inefficient but gets the job done.
a func that takes arguments (Slice, indexA, indexB) and compares.
See Implementation
Sort by using an index to remap the elements.
TODO This is inefficient but gets the job done.