Jortsort Save Abandoned

the official website for jortSorting

Project README

jortSort

jort.technology

sorting is over as we know it. more info soon.

var jortSort = function( array ) {

  // sort the array
  var originalArray = array.slice(0);
  array.sort( function(a,b){return a - b} );

  // compare to see if it was originally sorted
  for (var i = 0; i < originalArray.length; ++i) {
    if (originalArray[i] !== array[i]) return false;
  }

  return true;
};

literally made with blood and tears

Open Source Agenda is not affiliated with "Jortsort" Project. README Source: jennschiffer/jortsort
Stars
111
Open Issues
1
Last Commit
8 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating