Sort notifications