For Google Sheets as of May 2023, per Keyboard shortcuts for Google Sheets:
Method 1: Data->Sort_sheet
The following only works when the pull-down menus ("command menus") are displayed:
- PC:
Alt [+ Shift] + d + s
(Shift
for non-Chrome browser)
- macOS:
Ctrl + Option + d + s
- Chrome OS:
Alt + d + s
...followed by a
or z
to run an ascending- or descending-sort, respectively.
This employs the "Open a menu" keyboard shorcut to open/run the Data->Sort_sheet->Sort_sheet_by_column ...
menu command.
Method 2: Tool finder + keyboard-shortcut mapper
Possibly even better, the following works at all times, even when Google-Sheets menus are not displayed:
Run the Tool finder
(formerly "search the menus") by pressing Alt + /
(Windows, Chrome OS) or Option + /
(macOS) and then type sort (a
or sort (z
plus <enter>
to run an ascending- or descending-sort, respectively.
Employ a "keyboard shortcut mapper" utility application (like BetterTouchTool on macOS) to map this method to an even-shorter, customized keyboard/keystoke combination.