File::findChildFiles Linux inconsistency


I am writing an app (OSX and Linux targets) that searches
inside a directory (non-recursively) to find its containing files.

On OSX the results array contains the files in alphabetical order.

However, on Linux the files are not added in the same order.

Is there a bug in File::findChildFiles.

Juce 4.0.1
OS X 10.9.5
Ubuntu 14.04 LTS

No, not a bug. The order in which it returns items is entirely dependent on the OS functions - if you need to sort it, you should do so explicitly with the sort algorithm you actually want.