Added basic sorting before concat

We want our output to always be exactly the same order. The additional option {sort: true} now allows us to sort the input files before they are concat into one output file.