increasing output and sort for CSV; fixed date range--restored from previous