For some reason Sprout Forms entries will not accept the usual order by field handle setup. When I want to order the contact entries by address for instance:
{% for formEntry in craft.sproutForms.entries.formHandle('contact').order('address') %}
{{formEntry.address}}
{% endfor %}
I get the error:
Column not found: 1054 Unknown column 'address' in 'order clause'
This field does exist. If I remove 'order', it parses the field
craft_sproutformscontent_contact
ORDER BYcraft_sproutformscontent_contact
.field_address
ASC" but I was not able to get the right syntax in twig