Sub topic 8
Sorting, grouping and view options
This chapter assumes you can open a Finder window, switch between the four views (Icon, List, Column, Gallery) and navigate folders. You should also know that a folder can hold other folders. It covers how to control the order of items, how to split them into labelled sections, and how to make those choices stick for one folder or for all of them.
Sorting and grouping are different tools
Sorting decides the order of items in a single list. Grouping splits the list into labelled sections, such as "Today", "Previous 7 Days" or "PDF Document". Items are sorted inside each section.
Both live in the View menu as Sort By and Group By. Use them together when one ordering is not enough. For example, group by Kind and sort by Date Modified to see the newest item of each file type first.
Sort By: which attribute to choose
The sort attributes are not interchangeable. Each answers a different question.
| Attribute | What it sorts on | Good for |
|---|---|---|
| Name | Alphabetical, numbers compared by value | Folders with a naming scheme |
| Kind | File type, such as PDF or JPEG | Mixed folders such as Downloads |
| Date Modified | Last time the content changed | Finding what you worked on recently |
| Date Created | When the file was first made | Original documents, photos |
| Date Added | When the item arrived in this folder | Recent downloads and imports |
| Date Last Opened | Last time you opened it | Finding what you used recently, clearing out the unused |
| Size | Bytes on disk | Finding what is filling a disk |
| Tags | Tag assigned to the item | Reviewing items you labelled |
Three details cause most confusion:
- Name sorting is numeric-aware. The Finder puts
Report 2beforeReport 10. Other tools, such as Terminal and some websites, may not. If files will leave the Mac, pad numbers with zeros (Report 02,Report 10) so every tool agrees. - Date Added is per folder. Moving a file into a new folder gives it a new Date Added in that folder. Date Created stays with the file.
- Dates in names sort well. A name that starts
2026-11-27sorts chronologically with plain Name sorting, whatever the Modified dates say. Chapter 6 covers naming schemes in more detail.
Sorting in List view
In List view, click a column header to sort by that column. Click it again to reverse the order. A small arrow next to the header shows the direction.
You can also:
- Add or remove columns. Right-click (or Control-click) any header and tick or untick attributes such as Date Added or Comments.
- Reorder columns. Drag a header left or right.
- Resize columns. Drag the line between two headers.
Sorting by a column also sorts inside folders you expand with the disclosure triangle. By default, folders do not always stay at the top. To keep them there, open Finder > Settings > Advanced and turn on Keep folders on top for windows when sorting by name.
Group By
Choose View > Group By and pick an attribute. The list gains section headers, and you can collapse a section by clicking its header.
Group By is available in Icon, List and Gallery views, but not in Column view. The date groupings are the most useful for a busy folder. Grouping Downloads by Date Added puts today's items together and pushes old ones into "Previous 30 Days" and month sections.
Sorting in Icon and Gallery views
Icon view has a special choice: Sort By > None. Items stay wherever you drop them, like papers on a desk. Any other choice arranges them automatically. Snap to Grid lets you place items freely but aligns them to an invisible grid.
Gallery view has no column headers, so use View > Sort By and Group By. The filmstrip along the bottom follows the sort order.
View options: the per-folder settings panel
Press Command-J (or choose View > Show View Options) to open the settings for the current view. The panel changes with the view you are in.
| View | Notable options |
|---|---|
| Icon | Icon size, grid spacing, text size, label position, show item info, sort and group choices |
| List | Icon size, text size, which columns to show, use relative dates, calculate all sizes |
| Column | Text size, show icons, show preview column |
| Gallery | Thumbnail size, show preview pane |
Two List view options matter more than they look:
- Use relative dates shows "Today" and "Yesterday" instead of full dates. This is easier to read but hides exact times.
- Calculate all sizes fills in the Size column for folders. Without it, folders show
--, so sorting by Size cannot rank them. Calculating can be slow on large folders and network drives.
Settings belong to the folder
The Finder remembers view, sort and group settings for each folder separately. It stores them in a hidden file named .DS_Store inside that folder. This is why Downloads can be a grouped List while Pictures is an Icon view.
The top of the View Options panel has two controls for this:
- Always open in … view forces the folder to open in that view, such as Icon, every time.
- Browse in … view applies the chosen view to its subfolders.
To apply your settings everywhere, hold Option and click Use as Defaults. Folders you have not customised then follow the default for that view type. Folders you have customised keep their own settings. The Desktop has its own separate settings.
Checking the Finder's ordering from Terminal
Terminal gives a second opinion on dates and sizes. These commands list a folder newest first, then largest first:
ls -lt ~/Documents | head -n 10
ls -lS ~/Documents | head -n 10The first sorts by modification time and the second by size. If the Finder's order disagrees with these results, check which attribute the Finder is using. The most common mix-up is Date Added versus Date Modified.
Choosing a combination
A few combinations worth setting up once:
- Downloads: List view, Group By Date Added, Sort By Name. Recent items stay near the top.
- Photo folders: Icon or Gallery view, Sort By Date Created, so the order follows when the pictures were taken.
- Project folders: List view, Sort By Name, and a naming scheme that starts with a date or number.
- Cleanup: List view with Size and Date Last Opened columns, sorted by Size, to find large items you no longer use.
Exercise
Your Downloads folder is a long list. You want to see PDFs together, and inside the PDF section you want the largest file first. Which View menu settings do you use, and in which view?
Show answer
Use List view, choose View > Group By > Kind, then View > Sort By > Size (or click the Size column header until the largest file is at the top). Grouping splits the list into sections by file type, and the sort orders the items inside each section. Group By is not available in Column view, so use List, Icon or Gallery.
Exercise
You customised the view of one folder last month. Today you set Option-click "Use as Defaults" for List view, but that folder still looks the same. Why, and what do you do?
Show answer
View settings are stored per folder in a hidden .DS_Store file. A folder you customised keeps its own settings, so new defaults do not override them. Open that folder, press Command-J and change its settings directly.