It would be great to have this feature. For example, I have a custom query for picking up tasks and sorting by priority, by when I provide the :result-transform function I lose the beautiful and useful grouping + breadcrumbs added by the default result transformation.
I would love to have the sorting function separate from :result-transform.
I’ve started digging into the code so I can answer these questions for myself. It’s rather daunting, but if anyone wants to join the party, please reach out (or just respond here)!
You can look at my other recent posts to see what I’m up to - mostly focused on using nbb-logseq to get a more REPL-y experience.