# Order posts by primary tag

**URL:** <https://forum.ghost.org/t/order-posts-by-primary-tag/28400>\
**Category:** Themes\
**Created:** [February 8, 2022, 6:38am UTC](https://forum.ghost.org/t/order-posts-by-primary-tag/28400 "2022-02-08T06:38:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SoftwareHints](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/softwarehints/32/13954_2.png) [@SoftwareHints](https://forum.ghost.org/u/SoftwareHints)\
**Post date:** [February 8, 2022, 6:38am UTC](https://forum.ghost.org/t/order-posts-by-primary-tag/28400/1 "2022-02-08T06:38:24Z")

</div>

**Question** : Do you plan to allow the possibility to order posts by primary tag?

**Context** : We are using posts for site organization and we were searching for options to sort them by information that is not visible for the user. The idea is that this order may change in the future. What seemed the closest solution was to use internal tags for linking the posts and sort by the primary tag (for example #1, #2, #3, …).

We checked:

- [primary\_tag is a computed field](https://github.com/TryGhost/Ghost/blob/6ba6e9c3077a35237fd1bccd801936433775ea50/core/server/models/post.js#L1053)
- [orderDefaultRaw](https://github.com/TryGhost/Ghost/blob/6ba6e9c3077a35237fd1bccd801936433775ea50/core/server/models/post.js#L815-L818)

**More Details:** We are building multi-level hierarchy with ghost: [https://datascientyst.com/](https://datascientyst.com/).

The idea is to order post by:

- primary tag
- custom field

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/4/a/4a8185bc53571b5ae8119006a0a0c2df7c5e55fd.png)

---

<div class="post-metadata">

**Author:** ![SoftwareHints](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/softwarehints/32/13954_2.png) [@SoftwareHints](https://forum.ghost.org/u/SoftwareHints)\
**Post date:** [February 27, 2022, 7:20am UTC](https://forum.ghost.org/t/order-posts-by-primary-tag/28400/2 "2022-02-27T07:20:36Z")

</div>

Where I can find the Ghost Roadmap and more specifically about:

> // Note: at the moment primary\_tag is a computed field,

Are there any plans in near future `primary_tag` to become stored field.  
I’m interested also in:

- major changes related to tags in near future
- contribution to such tasks - is there some way to contribute for such change?

Greetings

---

<div class="post-metadata">

**Author:** ![ahoi](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ahoi/32/20936_2.png) [@ahoi](https://forum.ghost.org/u/ahoi)\
**Post date:** [January 3, 2023, 10:21pm UTC](https://forum.ghost.org/t/order-posts-by-primary-tag/28400/3 "2023-01-03T22:21:13Z")

</div>

Did you solve this or did you find a workaround yet?
