This is an example that I’ve do
http://www.think-inbound.com/calendario-eventi
and this is the initial query param of this example
{% set queryparam = “&orderBy=-data_evento” %}
In this case the data_evento is a date type field and the events are ordered by data_evento in descending order