Sort form fields for sha-1 caps hash