Create to-sort.js