first pass at orderBy
getting started on SQL interface