How Windows 3.11 File Manager Sorted Directories

In Microsoft Windows 3.11, file and directory sorting was managed through the native File Manager application (WINFILE.EXE). The program allowed users to organize the contents of the active directory pane using four core criteria accessible from the top menu bar: Name, Type, Size, and Date. Because File Manager utilized a Multiple Document Interface (MDI), these sorting rules could be customized independently for each open directory window, giving users granular control over how file listings were displayed across different drives and folders.

Accessing the Sort Settings

Sorting parameters were located under the View menu on File Manager's main menu bar. When a user opened a directory window, the right-hand pane displayed the files and subdirectories of the folder currently selected in the left-hand directory tree. Selecting a sort command from the View menu instantly reordered the items in the currently active window pane.

The Four Core Sorting Methods

Windows 3.11 provided four standardized sorting mechanisms:

  • Sort by Name: The default setting. Files and directories were arranged in ascending alphabetical order (A through Z) based on their primary DOS file name (up to eight characters).
  • Sort by Type: Files were organized alphabetically based on their three-character file extension (such as .BAT, .DOC, .EXE, or .TXT). This grouped files of identical formats together regardless of their base filenames.
  • Sort by Size: Items were arranged numerically based on file size, ordered from largest to smallest.
  • Sort by Date: Files were sorted chronologically based on their last-modified timestamp, showing the most recently altered or created files at the top of the list.

Directory and Subfolder Treatment

File Manager treated directories differently than regular files to prevent structural confusion:

  • Folder Precedence: Subdirectories were prioritized and grouped together at the top of the pane, placed ahead of standalone files.
  • Folder Sorting Behavior: When sorted by Name, subdirectories followed strict alphabetical order. When sorting by Type, Size, or Date, subdirectories generally maintained their position at the top of the pane, sorted alphabetically among themselves, while the size and type criteria applied exclusively to the files beneath them.

Independent Windows and Persistence

Because Windows 3.11 supported multiple overlapping or tiled directory windows, each window maintained its own view settings. A user could keep one window sorted by Date to monitor recent system changes while keeping an adjacent window sorted by Type or Name for general file browsing.

To retain these display configurations between sessions, users relied on the Save Settings on Exit option under the Options menu. When enabled, File Manager wrote the current window arrangements, active paths, and sorting preferences directly to the WINFILE.INI configuration file upon closing Windows.