[IMP] improves the default order parameter

It is renamed 'default_order' and now supports the usual syntax for
sorting fields: for example 'field1, field2 desc, field3 asc'