Maps are already hard to sort, let alone automatically, and there is rarely a reason to do so in the first place. Also, unless you’re iterating through the keys, there is literally no reason.
Please clarify what you are trying to do, there is likely a better solution I can help you with.
Can you only encapsulate C++ blueprint functions to implement Map sorting?
It can be done in blueprints. Though, you need to create a new function for every type of map.
Again, please clarify what you are trying to do. Not that you are trying to sort, but why you are trying to sort.
What is a good way to implement the following Map sorting function in blueprints?
map[2.0] = “Path2”
map[1.0] = “Path1”
map[3.0] = “Path3”
…
Sorting result
map[1.0] = “Path1”
map[2.0] = “Path2”
map[3.0] = “Path3”