sorted notifications according to date