Order elements by a data-index value

javascript sort array of objects by key value
how to sort an array and keep track of the index in java
arrangement and rearrangement of elements of array in java
how to sort an array and keep track of the index in c
how to sort an array and keep track of the index in c++
reorder an array according to given indexes
reorder an array according to given indexes javascript
sort array by index javascript