Packaged the Arguments in a more convenient package.
Swapped to constants for sorting.
Removed unneeded imports.
Added another constructor.
Passes now an array of the correct size to toArray().
Added a method to fetch requested parameters.