Create sortCollection.js