refined sorting of fields outside queries