sort files by name in xcode project add a script to the root of the project in the terminal, run the script from the project folder: perl sort-files-by-name-in-project.pl your_project_name.xcodeproj/project.pbxproj if desired, you can add script executions to the build phases