05AB1E icon indicating copy to clipboard operation
05AB1E copied to clipboard

Sorting indexed list doesn't work

Open kcruijss opened this issue 2 years ago • 1 comments

When we're sorting a nested list directly from input it works fine: try it online
But when we're sorting after we've just indexed, it seems to sort based on the string we've indexed into for some reason..
Try it online to reproduce.

I came across it in this codegolf answer of mine.

kcruijss avatar Oct 20 '21 09:10 kcruijss

Case 1 sorts a plain iterable, case 2 sorts a lazy stream of iterable functions, seems like it doesn't apply the function before sorting.

monkeygroover avatar Nov 28 '22 20:11 monkeygroover