Fixed the sort commands (they were somehow missing the final arguments,
causing sort to read STDIN instead of the files), and added some output
to make it more clear exactly what the script was doing for the
individual stages of the tablet processing.