pint: Elizabeth, sort list???

[email protected] (ToddAndMargo via perl6-users)
Newsgroups perl.perl6.users
Message-ID <[email protected]>
> 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

Hi Elizabeth,

Would you take apart your sort piece by piece and explain
each part?

Many thanks,
-T
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.