Register materialized views, materialize them as in-memory tables, recognize and use them in queries.
Fix bug in how ArrayTable automatically sorts records.