refactor for orderbydescriptor.