Thanks Rata, that works perfectly. I looked at the FAQ, but the special variables confused me, so your explanation helped.
If some of the tasks have no specified priority, I get an "uninitialized" error, but it still works, assuming low priority if it's missing (that was after I switched $a and $b)
In reply to Re^2: Sorting an array of hashes by a value of hash
by simonozzy
in thread Sorting an array of hashes by a value of hash
by simonozzy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |