I need to sort many files and then dump into many files in order of 1.csv, 2.csv, 3.csv and so on with each file of equal size.
The following pipe sorts and then dump into a single huge file
cat input_files | sort > one_huge_file
How do I dump into multiple files?
Take a look at this useful tool: