Add: sorting as query's config