Create objectsorter.js