assuming your input file is data.txt (Linux), you can use the system command sort
:
sort data.txt > output.txt
6
solved Is there a function that will quickly sort a file in C? [closed]
assuming your input file is data.txt (Linux), you can use the system command sort
:
sort data.txt > output.txt
6
solved Is there a function that will quickly sort a file in C? [closed]