Preserve order of files/subcategories.