Re: I need sorting help

[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

-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.