Reimplement the SelectionSorter
of Section 14.1 so that it can sort an array of Object
, using a Comparator
. (For simplicity, we don't use type parameters.)
In the draft, only implement the minimumPosition
method. Change it to a public
method.