Reorder the elements based on their indices

vision 1.7.1

Why is the sorting result not as follows for the given data?

178,
178,
178,
178,
90,
91

The indices 0-5 in the index list represent the positions of the data in the original list before reordering. The order of indices 4, 5, 0, 1, 2, 3 means that the data from the original list will be reordered in such a way that the data at position 4 comes first, the data at position 3 comes last, and the rest follow in that order. If you want to sort the data in the order 178, 178, 178, 178, 90, 91, you need to adjust the index order accordingly.