I don't have Java here, so I can't test the code. But you seem to be doing a sort on 9 numbers entered through command line arguments. What problems are you facing?

Two possible reasons could be accepting an int array instead of a String one in the psv main method, and typecasting the array elements when comparing or assigning.

.