fix "orderby" issue.