Implement Order By feature