Reputation: 3671
In Xcode 3, it was relatively easy to sort the source tree by name (see answer here for more details). However, I can't figure out how to sort the files and groups in Xcode 4 without manually dragging them around.
Upvotes: 7
Views: 4273
Reputation: 817
As of Xcode 4.3.1 - Select a Folder/Group in the project navigator area. Then go to Edit->Sort and you can choose "by name" or "by type."
Upvotes: 17
Reputation: 1751
To accomplish something similar without touching your proj file, you may want to become best friends with CMD-SHIFT-O (Open Quickly ... was CMD-SHIFT-D in Xcode3). Start typing the filename and you'll see a list of matching files appear and you just pick from the list.
Upvotes: 3
Reputation: 61228
There is no sort for the project navigator beyond drag and drop. Probably because it would be too easy to obliterate your careful organization.
Upvotes: 3