tree supports order-by option. fixed a bug that displays wrong ordered query status on logquery