No, it shouldn't. Two things pop out. First, you're doing
[stat]->[9] again, which as I told you
last time is needlessly complex. Use
(stat)[9] instead. Second, your sort block refers to
$a->[2] and
$b->[2] which are undef. They don't exist. Your $a and $b are array refs with only two elements in them (
$a->[0] and
$a->[1]).