module Card::Query::CardQuery::Sorting

handle relational (not simple) CQL sort values (see interpret_as_modifier? and order_directives)

sorting with subqueries is not fully supported; only a few experimental examples have been attempted, and even for those the syntax is likely to change.

Generally speaking, sorting subqueries will require a JOIN strategy (as opposed to the “WHERE EXISTS” strategy that is central to queries’ main conditions.)