I need to sort this by the values store in count. Is there a way to sort hash references? Or another way to build this data structure, so that sorting can be performed? The hash refernece has many values, which could be considered user attributes. To iterated over them properly, it must be sorted by the key count. Would it be better to have:$users{$value}->{count}
Thanks.$users[3]->{count}
In reply to Sorting data structure by mhearse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |