You don't have to create a separate class for sorting an array of ints. Just write a separate method for it.