You wouldn’t use ?d
at all but something like (from the default config):
;; Pre-defined :result-transform function to use in Query
:query/result-transforms
{:sort-by-priority
(fn [result] (sort-by (fn [h] (get h :block/priority "Z")) result))}
You can see what attributes are available here:
Take into account that transforming results will remove grouping and breadcrumb information: