---
title: A Quick Way to Sort Projects and Contexts
description: A Quick Way to Sort Projects and Contexts
---

![burger-icon](https://www.kouroshdini.com/hubfs/icons/burger-icon.svg) 

[![Kourosh Dini - Homepage](https://www.kouroshdini.com/hubfs/logos/kourosh-logo.svg)](https://www.kouroshdini.com)

![close-icon](https://www.kouroshdini.com/hubfs/icons/close-icon.svg)

- [Blog page](https://www.kouroshdini.com/the-dini-group-ltd-blog)
- [Podcast page](https://www.kouroshdini.com/podcast)
- [Music page](https://www.kouroshdini.com/music)
- [Courses & Books page](https://www.kouroshdini.com/courses-and-books)
- [Psychoanalysis page](https://www.kouroshdini.com/psy)
- [About page](https://www.kouroshdini.com/about)
- [Contact page](https://www.kouroshdini.com/contact)
- [Waves of Focus page](https://www.kouroshdini.com/waves-of-focus)

![Search](https://www.kouroshdini.com/hubfs/icons/search-icon.svg)

[![at-icon](https://www.kouroshdini.com/hubfs/icons/at-icon.svg)](mailto:kmdini@gmail.com)

[Return to Blog](https://www.kouroshdini.com/the-dini-group-ltd-blog)

# A Quick Way to Sort Projects and Contexts

Nov 20, 2017 

![](https://www.kouroshdini.com/hubfs/blog%20image.webp)

\*Addendum (2017-12-06): [Brandon Pittman](https://twitter.com/brandonpittman) has since come up with an [Applescript method of doing the sorting](https://gist.github.com/brandonpittman/fb9cfb4f4bcb2e8ad2b5df0dadb69519) described in this post.

 

We may find ourselves with a large number of projects in one folder. As an example, I have a sizable number of clients. Each client has their own project. These projects then reside in one “Current Clients” folder.

When creating a new client project, often through a template mechanism (to be discussed in another post), I now have a new project to add to the mix. However, at several scores of clients, the whole folder can eventually become a mess. There is no order:

![An unordered list of projects, gradually created over time.](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) An unordered list of projects, gradually created over time.

While I can always search for a project using the Quick Open feature (Command-o), I’d also there to be some order.

To re-order on a one time basis, we can use the “Sort Once” feature. To sort once,

- Select a series of projects (multi-select using Shift or Command):

![A selection of all projects in a particula folder](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) A selection of all projects in a particular folder

- Use Menu \> Organize \> Sort Once \> By Name:

![Menu command to have OmniFocus sort projects alphabetically](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) Menu command to have OmniFocus sort projects alphabetically

Everything is now nicely alphabetized:

![An organized list of projects](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) An organized list of projects

You’ll notice that there are several options available, not just “By Name”. The only other one that I use regularly is “By Status” though I can easily imagine the others working in other workflows.

In fact, I use these two so often, e.g. every time I get a new client, that I’ve added Keyboard Maestro key commands for them:

- Menu \> Organize \> Sort Once \> By Name (Option-n)
- Menu \> Organize \> Sort Once \> By Status (Option-s)

Organize by status lines up your active projects and then your on hold projects. That way, if you can sort a mix of one and the other:

![Before and after of sorting projects by status places Active above On Hold Projects](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) Before and after of sorting projects by status places Active above On Hold Projects

Occasionally, I will follow one sort command with the other, (Option-n) then (Option-s). Everything is quickly organized quite nicely.

Also, the same sorting command works for contexts, too. As I have a context for each client, the same issue appears.

# Setup Keyboard Maestro for OmniFocus

## Create a Folder for OmniFocus Key Commands

If you are interested in creating the same setup in Keyboard Maestro, we can use the same procedure I outlined in [this post](https://www.beingproductive.org/2017/10/quickly-access/).

If you don’t already have a group dedicated to OmniFocus in Keyboard Maestro,

- Create a Group for OmniFocus:

![Create a folder to dedicate to OmniFocus macros](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) Create a folder to dedicate to OmniFocus macros

- Title it:

![Title for macro folder](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) Title for macro folder

- Select “Available in all applications” and change it to “Available in these applications”.
- Select the green + button and select OmniFocus:

![Set macros only for OmniFocus](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) Set macros only for OmniFocus

You now have a folder that will let you make Keyboard Maestro macros specific to OmniFocus.

## Create a Sort by Status Command

At this point,

- Create a new macro:

![Use the middle bottom plus button to begin creating a macro.](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) Use the middle bottom plus button to begin creating a macro.

- Title the macro:

![Assignt the macro a title](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) Assignt the macro a title

- Select New Trigger \> Hot Key Trigger:

![Assign a hot key trigger - here I'm choosing Option-s](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) Assign a hot key trigger - here I'm choosing Option-s

- Assign a key command (e.g. Option-s).
- Open the Actions list by selecting the plus button:

![](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png)

- Find and select “Select or Show a Menu Item”. Here I used the search window to do so:

![Find "Select or Show a Menu Item"](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) Find "Select or Show a Menu Item"

- In the action, select the Menu prompt:

![Use the menu command to find the desired menu option.](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) Use the menu command to find the desired menu option.

- Find and select the menu command for assignment:

![Navigate several windows over to find the desired command.](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) Navigate several windows over to find the desired command.

You’re now good to go:

![Completed macro in Keyboard Maestro](https://static.hsstatic.net/BlogImporterAssetsUI/ex/missing-image.png) Completed macro in Keyboard Maestro

As a side note, I use the “Select or Show a Menu Item” function of Keyboard Maestro the most. Quite likely, there’s a ton of functionality that I’m missing.

In any case, you now have a quick way to sort your projects.

![Divider](https://www.kouroshdini.com/hubfs/separator.svg)

Share this article

<https://www.facebook.com/sharer/sharer.php?u=https://www.kouroshdini.com/the-dini-group-ltd-blog/sorting-projects> <https://www.linkedin.com/shareArticle?mini=true&url=https://www.kouroshdini.com/the-dini-group-ltd-blog/sorting-projects>

## Recent Articles

[![I'm Sorry. I Can't Do the Laundry. I Just Don't Have the Dopamine.](https://www.kouroshdini.com/hubfs/Im%20Sorry.%20I%20Cant%20Do%20the%20Laundry.%20I%20Just%20Dont%20Have%20the%20Dopamine-blog.jpg)](https://www.kouroshdini.com/the-dini-group-ltd-blog/adhd-productivity-dopamine-struggle)

#### [I'm Sorry. I Can't Do the Laundry. I Just Don't Have the Dopamine.](https://www.kouroshdini.com/the-dini-group-ltd-blog/adhd-productivity-dopamine-struggle)

 Sep 18, 2026

Sorry, I can't do the laundry. I just don't have the dopamine. I saw this post on Instagram. It was funny. I l...

![Bottom card separator](https://www.kouroshdini.com/hubfs/faq/line-mobile.svg)

[![You Don't Need Another List — You Need a Better Prompt](https://www.kouroshdini.com/hubfs/You%20Dont%20Need%20Another%20List%20%E2%80%94%20You%20Need%20a%20Better%20Prompt%20Blog.jpg)](https://www.kouroshdini.com/the-dini-group-ltd-blog/you-dont-need-another-list-you-need-a-better-prompt)

#### [You Don't Need Another List — You Need a Better Prompt](https://www.kouroshdini.com/the-dini-group-ltd-blog/you-dont-need-another-list-you-need-a-better-prompt)

 Sep 11, 2026

Maybe I just need another list. Things are piling up, something slips. Deadlines creeping up. Project we were ...

![Bottom card separator](https://www.kouroshdini.com/hubfs/faq/line-mobile.svg)

[![Single-Threading: AI, ADHD, and the Cost of Switching](https://www.kouroshdini.com/hubfs/Ep%2071%20Single-Threading-%20AI%20ADHD%20and%20the%20Cost%20of%20Switching.jpg)](https://www.kouroshdini.com/the-dini-group-ltd-blog/single-threading-ai-adhd-and-the-cost-of-switching)

#### [Single-Threading: AI, ADHD, and the Cost of Switching](https://www.kouroshdini.com/the-dini-group-ltd-blog/single-threading-ai-adhd-and-the-cost-of-switching)

 Sep 04, 2026

Recently I've found myself bouncing around between eight or nine different open threads with my AI, choosing o...

![Bottom card separator](https://www.kouroshdini.com/hubfs/faq/line-mobile.svg)

[Return to Blog](https://www.kouroshdini.com/the-dini-group-ltd-blog)

## Publications

 Over the years, I’ve written five main works on productivity. Sign up for the Weekly Wind Down newsletter to get free previews.

![Kourosh Dini courses](https://www.kouroshdini.com/hubfs/courses%20and%20books/books%20left.webp) ![Kourosh Dini books](https://www.kouroshdini.com/hubfs/courses%20and%20books/books%20right.webp) 

[See all the publications](https://www.kouroshdini.com/courses-and-books)

- [Kourosh Dini Instagram (opens in new window)](https://www.instagram.com/kouroshdinimd/)
- [Kourosh Dini LinkedIn (opens in new window)](https://www.linkedin.com/in/kouroshdini)
- [Kourosh Dini X/Twitter (opens in new window)](https://x.com/kouroshdini)
- [Kourosh Dini YouTube (opens in new window)](https://www.youtube.com/c/KouroshDini)

### Contact Us

 If you have a clinical matter, please call.  
 For books and productivity matters, please email.

- [1020 South Wabash Ave, Unit 4G, Chicago, IL 60605 (Opens Address in google Maps)](https://maps.app.goo.gl/7agnPcDjwB6PRNuX6)
- [312-391-3171 (opens phone dialer)](tel:+13123913171)
- [dinigroup@kouroshdini.com (Opens mail application)](mailto:dinigroup@kouroshdini.com)

- [Home](https://www.kouroshdini.com/)
- [Blog](https://www.kouroshdini.com/the-dini-group-ltd-blog)
- [Podcast](https://www.kouroshdini.com/podcast)
- [Music](https://www.kouroshdini.com/music)
- [Books & Courses](https://www.kouroshdini.com/courses-and-books)
- [Psychoanalysis](https://www.kouroshdini.com/psy)

- [About](https://www.kouroshdini.com/about)
- [Contact](https://www.kouroshdini.com/contact)
- [Privacy Policy](https://www.kouroshdini.com/privacy-policy)
- [Terms & Conditions](https://www.kouroshdini.com/terms-and-conditions)

© 2026 The Dini Group, Ltd.

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Kourosh",
    "url" : "https://www.kouroshdini.com/the-dini-group-ltd-blog/author/kourosh"
  },
  "dateModified" : "2026-03-31T18:09:01.113Z",
  "datePublished" : "2017-11-20T16:00:36.000Z",
  "headline" : "A Quick Way to Sort Projects and Contexts",
  "mainEntityOfPage" : {
    "@id" : "https://www.kouroshdini.com/the-dini-group-ltd-blog/sorting-projects",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.kouroshdini.com/hubfs/logos/kourosh-logo.svg"
    }
  }
}
```