Sort activities returned by server by date.