Command Args now being sorted

Able to sort and output values based on the order chosen in the HTML.