Support multi-column ORDER BY with per-key ASC/DESC.
ORDER BY currently sorts by a single key. Support ORDER BY a DESC, b ASC.
Where
ORDER BY parsing in v2/src/sql.cpp.
- The sort in
v2/src/exec.cpp — make the comparator iterate a list of (col, dir).
Acceptance criteria
- Multi-key ordering (including mixed ASC/DESC) matches SQLite on a
bench2 check.
- Existing single-key behavior is unchanged.
See CONTRIBUTING.md and comment here to claim it.
Support multi-column
ORDER BYwith per-keyASC/DESC.ORDER BYcurrently sorts by a single key. SupportORDER BY a DESC, b ASC.Where
ORDER BYparsing inv2/src/sql.cpp.v2/src/exec.cpp— make the comparator iterate a list of(col, dir).Acceptance criteria
bench2check.See CONTRIBUTING.md and comment here to claim it.