Questions tagged [sort]
The sort tag has no usage guidance.
102
questions
1
vote
2
answers
82
views
zsh - Sort files expansion in MacOS Terminal like in Finder: numerically and case-insensitively
Is it possible in MacOS Terminal to have the sort order numerically and case-insensitively, almost like in Finder?
I'm on MacOS 14 Sonoma, using Terminal app with zsh 5.9 and oh-my-zsh.
I'm trying to ...
0
votes
1
answer
46
views
How do I control the sort function in Photos?
Is there some way to disable the sorting of photos within an album so that I can retain the order of the photos in the manner that I would like?
2
votes
1
answer
63
views
Sorting mail.app subfolders
My iMac (macOS Monterey 12.6.6) runs Mail.app 16.0. Mail.app has a number of subfolders within a user-created folder called "Old Trips.” Each subfolder contains emails relating to a specific ...
1
vote
1
answer
907
views
iCloud mail advanced filter rules
is there a way to add filter rules for an iCloud for example, if the Sender is [email protected] and Subject contains "test" then move the mail in "test" and flag it as Spam.
I ...
1
vote
0
answers
22
views
Finder.app : Sort by extension (not by kind) [duplicate]
Is it possible in Finder.app to sort by file extension rather than kind?
1
vote
0
answers
92
views
Finder.app : Sort by Extension
Question
How could I Sort by Extension in Column View (as a standard view, not as a search) using the Finder.app (as opposed to an alternative Finder.app)?
Sleuthing
Existing information mostly ...
1
vote
1
answer
85
views
How to get "ls" and "sort" commands to reproduce Finder.app sorting using LC_COLLATE
In Apple Finder.app special characters come before numerals which then are followed by alpha characters. It appears this is called "Natural Sort Order".
EDIT
To clarify, I am using ls ...
0
votes
0
answers
894
views
How to auto-sort a table in Numbers?
I'm trying to get Numbers to "auto" sort a table when data is entered into a different table.
It's for a simple round robin tennis tournament, where points are accumulated each round, and I'...
0
votes
1
answer
85
views
Force Music app to sort with prefixes (“The”, “A”, “An”, etc.)
Back in the ol'days In iTunes package, there was a file called SortPrefixes.plist in localisation folders containing several sort prefixes (“The”, “A”, “An”, etc.). Removing them in this file was ...
1
vote
0
answers
209
views
Setting Individual Folders To a Different Sorting Method? & Icon Size
How do you set each folder on the MacBook to a different sorting method?
It's driving me crazy: I've watched videos, googled & nothing, no answers.
Say I have 3 Folders on the desktop. I want to ...
0
votes
0
answers
109
views
Mark unsorted recents photos in iPhone
I've a habit of sorting all my 'recent' photos into different local albums on my iPhone. I've 30,000+ photos in 'recent' album and NOT all are sorted in various local albums.
How can I mark the photos ...
1
vote
1
answer
204
views
Sort 80,412 files into folders based on name begins with
Situation:
a folder with 80,412 files
all files named with CamelCase, some have a dash (-) separating the first word
files can be grouped by beginning with the same word or letters(i.e. "...
3
votes
1
answer
2k
views
Sort list of numbers using the zsh shell in Mac OS X
Using Mac OS X zsh shell, how can I ascending sort the following list of numbers? I have tried the command line sort (without any options) but the output is not accurate.
The below list of numbers is ...
0
votes
0
answers
213
views
Use Automator to compare directories
I am wondering if there is a way to get Automator to compare two directories and sort the results in macOS Big Sur?
I have two large directories sitting up in a local network. I want to compare the ...
3
votes
2
answers
2k
views
Change Finder sort from descending to ascending in anything but list view?
Is it possible to change the sort order when viewing files in Finder in the symbol, column or slideshow view?
I am going through pictures and sorting them by creation date. For some reason, the ...
2
votes
0
answers
65
views
Is it possible to alter the order of "kind" sorting?
Mojave:
In list view, the Finder sorts Kind by...
Descending - Folders/Aliases/Other/Documents/images
Ascending - Aliases/Folders/Images/Documents/Other
Keep Folders on top is not ticked/in use. Yet,...
0
votes
1
answer
180
views
Mail.app Rules Applied Inconsistently
Mail.app 14.0, macOS 11.2.3, IMAP email account.
I'm subscribed to several mailing lists and have Mail.app rules that sort mail from the list servers into specific mailboxes.
About one half of the ...
0
votes
1
answer
445
views
Numbers: Possible to transpose Rows and Columns during Import of txt file?
I have a txt file which has 5,000 data points separated by commas.
i.e. data123,data456,data17,data918,etc,etc
If I open this txt file in Numbers, it creates each item as its own column, whereas I ...
1
vote
0
answers
360
views
Activity Monitor: Is there a way to sum up child processes into their parents?
I really like the Hierarchical view in activity monitor for finding which process belongs to which application. The problem is that when you sort by "% CPU" it sorts by the value of the ...
1
vote
1
answer
880
views
How to sort by size of output by du -sh ~/* | sort -r
I use this command to find the disk usage:
du -sh ~/* | sort -r
But it messes up with with the K, M, and G suffixes added by du -h.
956M /Users/shinokada/Docker
9.2G /Users/shinokada/...
2
votes
2
answers
178
views
Sort by comment?
I have started setting deadlines on a document by putting the date in the comments, using the YYYY-MM-DD format and then what type of deadline it is (I have to submit initial, interim, and discharge ...
0
votes
1
answer
33
views
How can I sort my Download folder without having to do it manually every time [duplicate]
I want my download folder to be ordered in the following way:
Top left corner I want the last downloaded file and bottom right corner the oldest.
Right now, I always have to right-click inside my ...
3
votes
0
answers
460
views
What is the logic behind the ordering of non-alphanumeric characters in Finder, when sorting by filename?
You probably know that Finder uses natural sort order rather than ASCII order, when sorting files by name. See:
How does finder sort folders when they contain digits and characters?
https://developer....
0
votes
1
answer
137
views
How to force a new app to be placed on the main home screen section (iPad 6)
Specs: 2018 Ipad 6, latest iOS
When installing a new app, the app is sent to a new section of the home screen.
I prefer to have all my apps on a single home screen.
How do I force the app to be ...
1
vote
0
answers
210
views
Sorting files in dock folder
I'm runninγ macOS 10.15.3 (Catalina) and have noticed this behavior.
I have my documents folder in the dock with the following options:
Sort by: Kind
Display as: Folder
View content as: List
The ...
0
votes
0
answers
1k
views
Does Notes app macOS Mojave auto-move checked off checklist items to bottom, like iOS 13?
The Notes app on iOS 13 offered to automatically move checked-off items in a checklist to the bottom.
Does the Mac Notes app offer that in Mojave or Catalina?
0
votes
2
answers
506
views
How to switch off "natural" sort order in Finder and enable pure alphabetical sort order? [duplicate]
I have a set of pictures named as hex representation of UUIDs. I want to see them ordered alphabetically as strings, but regardless what I try, the app shows me it differently:
I have these settings ...
1
vote
3
answers
2k
views
macOS Catalina - how to set up Finder to use file sorting logic same as ls command (alphabetical order, not "natural")? [duplicate]
I noticed today that Finder has some strange logic of sorting files by name and I cannot figure out why is that.
Screenshot 1 - folder in "column" view with folder's options opened:
Screenshot 2 - ...
8
votes
1
answer
2k
views
How does finder sort folders when they contain digits and characters? [duplicate]
I can't figure it out how to sort folders by name in Finder.
My expected results should look like this:
0629e7bc-8110-4db9-aaa9-b67b0b73743d
06a409e1-98c6-4bf4-afa4-c814f7899d82
0a3a5c12-e459-4aa0-...
1
vote
1
answer
277
views
Macos sorts file randomly (at least it seems so to me)
I checked other questions, checked Apple forums - the only thing I could find is Sort by / Arrange by but in my case none of their combinations helps me to get plain "by name" option, currently I can'...
0
votes
1
answer
858
views
Numbers not sorting dates correctly
I cannot get the column to sort the dates correctly in Numbers! I want to sort the column by date and instead of sorting 1 through 12, it sorts like this: 1,10,11,12,2,3
0
votes
3
answers
404
views
Sort output of tmutil compare by file size
tmutil compare gives differences between two backups. But I wonder how do I sort the output by file size? With GNU sort, there is the --human-numeric-sort option for this, but the sort which is part ...
9
votes
2
answers
8k
views
Sort by reverse option
When I arrange my folders with the Sort by option (I mostly use Date added) it will sort the files by the most recent one being the first and the oldest being the last.
I want to reverse this that ...
3
votes
1
answer
2k
views
Sorting files on extension (kind) and then date in Finder? (Mojave)
When viewing a folder in Finder, by clicking the different column headings you can select how you want the folder contents sorted: by name, kind (extension), modified date, et cetera.
What I would ...
7
votes
1
answer
4k
views
Sort with case-sensitivity (lowercase before uppercase) in macOS in the Terminal
I am trying to use the answer in GNU Sort by case-sensitive to sort a file in my Mac OS.
My file.txt looks like this:
"Best"
"A"
"BEST"
In the second answer to the mentioned question, it says that ...
2
votes
1
answer
474
views
Dock folder shortcut: Is it possible to change the sort order of files in subfolders?
I have a shortcut to a folder in the Dock.
Here is how this folder is configured:
This folder contains several subfolders. When I enter a subfolder by hovering the mouse cursor over a subfolder ...
1
vote
0
answers
487
views
How to change the sorting priority for special characters in file names
In Finder.app, as per the default sort order, the files and folders whose name begin with an underscore character _ appear before the hidden files, i.e. ones whose name being with a dot ..
I would ...
0
votes
1
answer
846
views
Finder sort order not alphabetical (again)
I know you might be annoyed by those questions, but here is my specific problem:
A list of PDFs, which is in no explaineable way ordered non-alphabetical. It is consistent between list and column ...
0
votes
1
answer
5k
views
How to sort by name in Finder?
I cannot sort by name when I simply open a finder, and select a folder. See the image below:
I know that I can do Cmd-J to bring up the menu for defining the sort and arrange by, but this seems ...
7
votes
2
answers
321
views
Understanding 'sort by name' behavior in Finder [duplicate]
I don't understand the sort behavior I'm experiencing in Finder (MacOS Sierra). Is there anyway to get the 'sort by name' to sort alphabetically such that 0 < 9, a < z, and numbers < letters?
3
votes
1
answer
320
views
"Clean up by name" isn't sorting my files in alphabetical order
I have a folder containing six subfolders. Right-clicking on the Finder background and clicking "Clean up by name" sorts them into the order "1.0", "1.5", "1.6", "1.25", "1.56", and "2.0". This is ...
2
votes
0
answers
185
views
Can I make Finder NOT ignore leading zeros sorting by name?
I understand Apple's intention to sort things like this:
dir_1
dir_002
dir_03
...
But it becomes ridiculous in the following example:
dir_0.1_1
dir_0.01_1
dir_0.001_1
dir_0.1_2
dir_0.01_2
dir_0....
10
votes
1
answer
8k
views
Finder "Arrange by date" splits into Today, Previous 7 Days, Previous 30 Days, etc
When I use Finder on OSX 10.11.6, selecting any of the "Arrange by date [modified/last opened/created/added]" splits up the window into various vertical subcategories which I can either horizontally ...
1
vote
1
answer
412
views
iTunes - Sorting issue. Song names that start with 'the' or 'a'
I'm sorry guys if this is an easy fix. But I really couldn't find any useful info about this anywhere. iTunes ignores the 'the' and 'a' in the song names and sorts them this way. as you can see in the ...
0
votes
1
answer
923
views
How to sort files in reverse alphabetical and maintain that setting for given folders
I have a bunch of folders that I use to store bank statements, utility bills, correspondence etc. The filename of each item starts with an eight digit code, which is the date of the item (for example, ...
7
votes
0
answers
1k
views
Sort Desktop icons by reverse of "Date Created"?
I want my oldest folders to be at the top and my newest ones to be at the bottom. Sorting my Desktop by "Date Created" does the opposite of this, but how do I flip it?
I'm on macOS Sierra and have ...
1
vote
1
answer
59
views
How Can I Create A Service To Alphabetize A Comma Separated Text String?
My understanding is that RegEx will not do this. What will?
My issue, specifically, is extremely messy iTunes genre tags. I would like to merge genre tags that have the same or similar comma ...
3
votes
1
answer
1k
views
Can I clean up by date created in reverse order?
I have a folder of documents that I want to sort by the date they were created from oldest to newest. I know you can do this in list view, but I really want it to be in icon view.
I know that you ...
0
votes
2
answers
525
views
Why can't I have unique sorting options for folders in Finder?
For example, when I set the Documents folder in my user folder to "Sort by: Kind", it also sets the sorting option for every other folder on my computer. Can I have unique folder sorting options? Or ...
7
votes
2
answers
56k
views
How to sort photos inside a photo album in the Photos app on an iPhone by date [PC]?
By default the photos in user-created albums are sorted by date added, NOT date taken. The user may rearrange the photos one-by-one (tap and hold).
I do NOT own a Mac.