Easy multisort! my @h = (
{ name => "albert", age => 40, size => 2 }, { }, { ); # ({age => 40, name => albert, size => 2} {age => 69, name => albert, size => 3} {age => 22, name => andy, size => 3}) On Sat, Mar 2, 2024 at 9:29 PM ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: > On 3/2/24 05:13, Elizabeth Mattijsen wrote: > > <afoo12 afoo2>.sort(*.split(/\d+/, :kv).map({ (try .Numeric) // > $_}).List) > > Hi Elizabeth, > > It works perfectly. Thank you! > > I have no idea why, I will ask you in another post > > -T >