added notifications sorting