ordering expression query parsing implemented