Sorting pictures by filename is the default on the Explorer view. It sorts them the same way the Windows Explorer does. If you have already assigned meaningful names to pictures, then this can be a useful way to sort in the All View or Album Views.
Note: Sorting by filename sorts based strictly on the final portion of the filename (excluding the path). To sort images by their complete path and filename, use the Sort by Filepath option.