Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can an array in Javascript be sorted and then represented by an array of indices that show the original positions of the sorted elements?