我知道我們可以使用sort.Sort(sort.Reverse(sort.IntSlice(example)))對數組進行排序。但是我怎樣才能得到數組的索引呢?例如example := []int{1, 25, 3, 5, 4}我想得到輸出:1, 3, 5, 4, 2 查看完整描述