The indices of the dataset are in alphabetical order thanks to this line in the FolderDataset 64.
Thus, we only need the map from the folder names to the classes, which can be found for example in this file 30, and is already in alphabetical order as well.