Added 13 query commands and their tests respectively. Also separated Order/Sort to simplify API with a less complicated sorting statement