Respect globs array order, fixes #25