Add a quick way to sort lists

JellyHair 3 years ago updated by Lazlo Bonin (Lead Developer) 8 months ago 1

As suggested by Lazlo in the discord I'm posting here:

There's been a couple of times I've wanted to sort a list of floats or ints (list of distances to other game objects for instance) and there doesn't seem to be a neat way to do this. I suggest that a list sort node (with sorting options) would be very helpful. Thanks!

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):

(Sorry for the bump/necro, I'm doing some roadmap grooming following the Unity acquisition!)

This is now supported in Bolt 2 via delegates and generics. The Sort method can be used.