Sort Data Table Columns Alphabetically.

Personally I use JSON instead of CSV for data storage. My typical workflow when I add new data table starts from blueprint struct and data-table based on it for prototyping purposes. Then I export my data table to JSON file with the same name and path as original data table. At this moment engine starts to prompt me if I want to reload my data table whenever JSON file changes. And so I’m free to use whatever external tool I want to use, as long as I dont’ forget to allow engine to reimport table from disk after external changes and don’t forget to re-export to JSON if I do changes using built-it editor for whatever reason. At some moment I usually switch to C++ struct instead of blueprint one, usually alongside with moving most of the code to C++ too but important thing is - no data is lost in process as data table for me is just a copy of real data from JSON.

While above could be doable with CSV as well, next part is main reason I prefer JSON over CSV:

Find, export and merge tools are used to process JSON files. Typical example is finding entries matching certain condition, exporting them to separate file, editing said file in UE4 as separate data table if in-editor references are used or externally if only simple data is to be edited and then merging them back to original file. Basically it means treating JSON files as sort of database. It requires some effort to setup once and may require custom-made tools (not sure if freely available tools for JSON processing are good enough as I already had them custom from long before going to UE4) but it’s well worth it in the long run.