Documentation Channel for #raku | This channel is logged | Roadmap: github.com/raku/doc/wiki
Set by [Coke] on 23 May 2022.
sjn looks at the documentation for sort(), and wonders why the default sort method isn't made clear. It says "smallest element first", which isn't useful, really. Smallest in what sense? 02:49
I'd at least expect is say "by default, the elements are sorted alphabetically" or asciibetical, or alphanumerical, or whatever is the case 02:51
I guess it _can_ be figured out by exploring implications of how cmp() works, but it would be a whole lot more accessible to just spell it out where the behaviour is made use of... 02:54
coleman docs-dev maintenance; few minutes down in 3...2...1... 23:45
should be back 23:47