Send form data by order, not element id
Sort form data on arrival
Change sample
Wrap app in a class