made messages sorted by date