Allow users to order by functions