Oracle Interview Question

sort a collection with limited class options.