Changed the default Query class in the rdb repository so that calls to
order_by from inside SqlAlchemy always work as expected.