add: chunk sorting and merging example scripts