[app] Project sorting controls do not change the sidebar project order
Open 💬 7 comments Opened Jul 14, 2026 by e-zubak
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.707.72221 (5307)
What subscription do you have?
Pro 5x
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
In the ChatGPT desktop app, the Projects sidebar offers three sorting modes: Priority, Last updated, and Manual order
Changing the selected mode updates the checkmark in the menu, but the visible project order remains exactly the same for all three options
This makes the project sorting control effectively non-functional
What steps can reproduce the bug?
- Open the ChatGPT desktop app
- In the sidebar, open the Projects options menu
- Keep grouping set to By project
- Select Priority and note the first several projects
- Select Last updated
- Select Manual order
- Observe that the visible project order does not change after any selection
What is the expected behavior?
Priority should place projects with tasks needing attention or unread activity first
Last updated should place the most recently active projects first
Manual order should follow the saved project order and allow that order to be rearranged
Additional information
- MacBook Pro with Apple M5 and 32 GB RAM, macOS 26.5.2 build 25F84
- The selected checkmark changes, so the menu receives the click, but the project list does not reflect the selected mode
- Read-only inspection of local state shows that a populated
project-ordervalue exists - Read-only inspection of the bundled desktop code suggests that an empty project-order array may be passed into the merged sidebar ordering path, which may explain why Manual order is ignored
- Feedback ID:
no-active-thread-019f5649-4643-7e62-acfc-a28a2c49b9f4 - A screenshot showing the Projects sorting menu and current order is available
- I searched existing issues and did not find an exact duplicate; adjacent reports concern missing projects or task history rather than sorting controls that do nothing
7 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
This may be related to #32166. The workaround shared there rebuilds
project-orderfromstate_5.sqliteand explicitly sets the sort mode toupdated_at.In my case, removing the persisted
project-orderwas enough to restore By project → Last updated sorting. After fully quitting the app, I used:After reopening the app, recent-first sorting worked correctly. It continued working until I added a new SSH connection/project. At that point,
project-orderwas recreated and the sidebar became stuck again, even though Last updated remained selected.This suggests that creating or syncing an SSH project may regenerate a persisted project order that overrides the selected sorting mode. This SSH-triggered recurrence may provide an additional clue beyond the workaround already documented in #32166.
Update: I packaged this workaround into a small repository:
https://github.com/jarvisluk/codex-project-order-reset
It backs up the Codex global state, removes only the top-level project-order, and restarts ChatGPT/Codex using a self-removing one-shot worker so the cleanup can survive the app exiting.
This remains a temporary macOS workaround. The field may be regenerated after creating or syncing local or SSH projects.
Superseded by the same diagnostic reposted from the reporting account @teo-goulois: https://github.com/openai/codex/issues/33077#issuecomment-4977755416
Confirmed on the same macOS build: 26.707.72221 (5307).
I reproduced this with By project enabled:
Priority,Last updated, andManual orderchanges the menu checkmark.PriorityandLast updatedcan reorder tasks inside each project group, but the project groups themselves remain unchanged.updated_at, so this is not just a failed click or preference-persistence issue.Read-only inspection of the bundled renderer and local state shows a likely cause:
project-order.project-ordercontains every visible project, it completely overrides the recency order.This also explains why deleting
project-ordertemporarily restores recent-first behavior, and why the bug returns when Codex recreates that value.Suggested behavior: apply persisted
project-orderonly forManual order. ForLast updated, keep the project-group recency order; forPriority, derive a project-level priority from the tasks in each group.Confirmed on a newer macOS desktop build: ChatGPT.app / com.openai.codex 26.721.41059 (build 5848).
I can reproduce the same behavior with the Projects view set to sort by Last updated: the visible project order does not reflect the latest project/thread activity.
Read-only local checks show that thread recency itself is available and coherent:
~/.codex/state_5.sqlitethread rows have validupdated_at/ recency timestamps.cwdshows several projects with newer activity than projects currently displayed above them in the Projects list.updatedAtfield, while thread data does include recency fields.This matches the existing diagnosis here: project groups appear to remain governed by persisted/manual project ordering, while the selected Last updated mode affects thread ordering inside groups or does not invalidate/recompute the project group order.
No data loss observed in this case; it looks like a Desktop sidebar/project-ordering bug. Related symptoms also match #31836 and #35090.
Confirmed still reproducible on a newer macOS desktop build: ChatGPT.app / com.openai.codex 26.727.40816 (build 6067).
I observed a more specific recurrence path with a new local project (not only SSH projects):
updated_atin both sidebar preference entries.project-order, with the unified sidebar order cache also present).project-orderandunified-sidebar-project-order-v1, reopening the app restored recent-first project sorting.This strengthens the existing diagnosis: project creation appears to persist or refresh manual-order caches regardless of the active sort mode, and those caches subsequently override the dynamic project-group order.
Suggested fix: only apply and update fixed project-order caches when the active mode is
manual. Creating a project whileupdated_atorpriorityis active should not regenerate an order that overrides the selected dynamic sort.I can reproduce the same issue on the Windows Codex desktop app.
Expected behavior: the Projects sidebar itself should reorder by Priority or Last updated, and Manual order should be directly rearrangeable without modifying the app bundle.
Windows users around me are seeing the same behavior, so this does not appear to be Mac-only.
日本語補足:Windows版でも、優先度・最終更新・手動順を選んでもプロジェクト一覧の順番が変わりません。以前ローカルカスタマイズでは並べ替えできましたが、公式アップデートが適用しにくくなったため、標準機能としての修正を希望します。