fn logical_groups(column: SEXP) -> Vec<(GroupKey, Vec<usize>)>
Logical keys: FALSE then TRUE (R’s sort order), NA last. Only keys present in the data appear.
FALSE
TRUE