check ordering of query results in testcases
added symbol_t::{ORD_ASC, ORD_DESC}