Changes all input values to integers
Sorts chosen inputs for each category in numerical order