Resolve "[2.2.10 prerelease] Trying to load a folder as an addon causes a "bad cycle" error every time"
requested to merge LoganAir/SRB2:712-trying-to-load-a-folder-as-an-addon-causes-a-bad-cycle-error-everytime into next
Closes #712 (closed)
I've added a call to qsort() at the end of getdirectoryfiles(), so that the "lumps" added via addfolder are sorted alphabetically.