WIP working on separating order-by validation from SQL