I have an array where each row looks like this:
array = [[ 'A2', 'A3', 'X' ], [ 'A1', 'Z', 'VZZ' ]]
The array has no keys. Currently I am accessing the values simply by the position of the value (ie. array[0], array[1] and so forth) and it works fine.
However I would like to order the rows, say by the first value.
How can I do this in angularJs ?
I tried things like ... | orderBy:$index but it does not work.