Hi -
weikong wrote:
> Some time what I want to sort is not the value, but some key.
> How? can?
Yes. As the man page points out, you can put the "+" or "-" sorting
directive on an index in the foreach loop:
foreach ([a,b-] in arr) { }
Then the iteration will be in decreasing order of the second key.
- FChE