Update hideRequired and Added reorderForm

updated the hideRequired function so that when the input name gets
passed as a parameter, its text gets changed to lowercase. All the form
input ids are lowercase.

Added reorderForm function. Collects a string of the desired order of
the inputs as the only parameter.