Sort files before concatinating them