added commented sorting.js script and working (minus shift()) sorting.js script