Posts Tagged ‘sorting’
Sorting an array in JavaScript is done with <array>.sort()
sort() explanation in French
sort() explanation in English
It’s very easy and well explained in all JavasScript references.
When dealing with two-dimensional arrays or even worst with multi-dimensional arrays it’s another story.
Let me try to explain you thanks to clear examples.
Tags: array, dimension, javascript, sorting