When I sort a DataTable by Enum it sorts it alphabeticaly.
I want it to sort by the order the Enums are in in the Enum Blueprint.
How do I do that?
Set the value of each enum member to be its corresponding position alphabetically.
Apple = 0, Ant = 1, Bee = 2, Beef = 3 etc.
Then just use built in features to sort it, as enums can be cast to int.
The obvious pain here is that if you add in more enums all previous values have to change.