The project can be set to show your files in one of several modes, using the Options menu in the top right of the project view:

Several sorting options are available to sort items within their directory by name, mime type, or extension. The List Files Before Directories option may be used to control whether files or directories are shown first in the tree view.