sub SUB_NAME { # sort by the specified columns $_ = $a->[$_] <=> $b->[$_] and return $_ for 3, 2, 1, 0, 4; return 0; }