Gulp integration, and track sorter algorithm