I need to sort a binary file using external sort. I use 2 aux files f1 and f2 where i put monotonous sequence data. After that i merge this files. I do this until there is one monotonous sequence.
EX 1 2 3 4 5 0 1
f1: 1 2 3 4 5 f2: 0 1
final file 0 1 1 2 3 4 5
I need some hints