v0.1.4: sort query results