If you want to sort array elements in Blueprints, Unreal Engine doesn’t provide a default node for this. However, you can create a macro library in Blueprints and implement a sorting node within it. While it may not be as efficient as sorting in C++, it’s a feasible approach. Here’s my macro for bubble sort:
You can try creating a Blueprint Macro Library and replicate this logic if you don’t want to code it yourself. Alternatively, there are likely plugins available that offer similar functionality.