getuserbyid order by date