[ticket/12742] Add sort options for notification types requiring sorting

PHPBB3-12742