Used the Ruby sort in twenty two- going to write a sort in js