Add sorting to user dashboard