Flesh out to-sql/order-item

Ensure that order-item passes expressions to expr-to-sql, that
it handles both ascending and descending order, and also handles
collation.
Add select$ convenience function
Improve SQL generation of result fields

Add top-down tests for select-clause, fields-to-sql, and
field-to-sql.  Add support for field aliases.