fixed some order_by bugs

Signed-off-by: ggxx <ggxx120@gmail.com>