sort output by date (increasing)