`events` are sorted according to profile irrespective of user logged in or not. Tested the code, it works.