ordering the output of koalas and wombats jiraa queries