Might not be time critical, but odd/inefficient lookup into what is an indexed array..
Should be an array, that just needs indexing by enum value, e.g.

> const char *val = logicalFileSortFields[DFUSFsize];