Fast Sort vs Old Sort

Edit on GitHub

Setup

array = [1,2,3,4,5,6]

string = 'hello'

Tests

  • Fast Sort

    array.length
  • Old Sort

    string.length