CleverRaven/Cataclysm-DDA — pull request #3585 by GalenEvil (2013-10-12 05:58:13+00:00)
Title: Make file_finder search and output in the proper order

As it stands, the file_finder will give you results if you don't care about the order they come in. It will search sets of subdirectories in last to first order which is problematic if you are expecting subdirectory zzzzzz to load after subdirectory aaaaa. I have added in a temporary stack that will take in subdirectory paths and then, once all of them have been added and the next directory is about to get searched, moves them from the temporary stack onto the top of the search stack.

By doing this we can keep directories loading in A->Z order.