Add sorting for functionality to the fields in add pool form.