Fixes #9 (sorting of events on profile page