in reply to can't find mistake. using sort and slice in regex

(sort {$b<=>$a}($1, $2))[0]
and
(sort {$b<=>$a}("$1", "$2"))[0]
produce different result, which points to a mishandling of magic variables in sort.