Join Slack
Powered by
when using `groupBy`, is there any nice and easy w...
# announcements
m
Mark Buikema
09/09/2019, 10:16 AM
when using
groupBy
, is there any nice and easy way to sort the items within the groups?
g
gildor
09/09/2019, 10:20 AM
only by sorting each list ins value of the map, you can use Map.mapValues for this
gildor
09/09/2019, 10:22 AM
Or just write own implementation that sorts list, it’s just a few lines, see source in stdlib
3
Views
Open in Slack
Previous
Next