0 .. length.argSortBits
The BOOLEAN path: a two-bucket count in scan order - stability for free, no comparisons at all.
Parameters
chunks | the key column's chunks |
descending | true slots first |
nullsLast | nulls after the valid entries |
Returns
the sorted permutation of