Help for this page
[section start marker (shift-opt-5)] [some line of text] entry \(frequency data\) entry \(frequency data\) … [section start marker (shift-opt-5)] [and the pattern repeats]
sub two_way_sort { ($b =~ /\((\d+)/)[0] <=> ($a =~ /\((\d+)/)[0] || ... } my @sorted = sort two_way_sort @unsorted_input;