This is an Example/Project from Blog Post: Dynamic Array Sorting in Javascript.

Dynamic Array of Arrays Sorting in Javascript

A simple Function for Sorting Dynamic Arrays of Arrays in Javascript by the value of one element in the array.

Here is where we'll see the results.

Test

50 Random values from 0 to 10000
Array Lenght: 20

Test

50 Random values from 0 to 10
Array Lenght: 20