# Alphabetical order of Interactive Apps subcategories

**URL:** <https://discourse.openondemand.org/t/alphabetical-order-of-interactive-apps-subcategories/3249>\
**Category:** Get Help\
**Created:** [February 5, 2024, 11:38pm UTC](https://discourse.openondemand.org/t/alphabetical-order-of-interactive-apps-subcategories/3249 "2024-02-05T23:38:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcuma](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/mcuma/32/171_2.png) [@mcuma](https://discourse.openondemand.org/u/mcuma)\
**Post date:** [February 5, 2024, 11:38pm UTC](https://discourse.openondemand.org/t/alphabetical-order-of-interactive-apps-subcategories/3249/1 "2024-02-05T23:38:15Z")

</div>

For some reason, our Interactive Desktop app, in the Desktops subcategory, shows at the bottom of the Interactive Apps menu list, and I can’t figure out why. It looks like the menu list order is alphabetical for the subcategories, and then the actual menu items, right?

We have specific category (group) list in `/etc/ood/config/ondemand.d/ondemand.yml.erb`, as:

```auto
nav_bar:
  # - apps
  - files
  - jobs
  - clusters
  - interactive apps
  - classes
  - my interactive sessions

```

That is, removing the `apps` since they also show in the `interactive_apps`. But including or removing it does not change the order of the menu list, which is like:

```auto
IDEs
  Ansys
  Matlab
  ...
Desktops
 Interactive Desktop

```

I want the `Desktops` on the top and if it were truly ordered alphabetically, it should be on the top.

The desktop app has this in `manifest.yml`, which is pretty standard:

```auto
name: Interactive Desktop
icon: fa://desktop
category: Interactive Apps
subcategory: Desktops
...

```

Any thoughts on this? Thanks.

---

<div class="post-metadata">

**Author:** ![hrandquist](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/hrandquist/32/2536_2.png) [@hrandquist](https://discourse.openondemand.org/u/hrandquist)\
**Post date:** [February 7, 2024, 7:25pm UTC](https://discourse.openondemand.org/t/alphabetical-order-of-interactive-apps-subcategories/3249/2 "2024-02-07T19:25:33Z")

</div>

Hello,

I am able to reproduce this issue by over-riding the default `nav_bar` settings like you have - basically the default is alphabetical, but if you override the default in any way, it’s another order. This is not expected behavior, so I have created an issue for it on GitHub ([nav\_bar subcategory order should be alphabetical when not specified · Issue #3343 · OSC/ondemand · GitHub](https://github.com/OSC/ondemand/issues/3343)).

Thank you for bringing this to our attention!

---

<div class="post-metadata">

**Author:** ![mcuma](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/mcuma/32/171_2.png) [@mcuma](https://discourse.openondemand.org/u/mcuma)\
**Post date:** [February 8, 2024, 4:55pm UTC](https://discourse.openondemand.org/t/alphabetical-order-of-interactive-apps-subcategories/3249/3 "2024-02-08T16:55:55Z")

</div>

Thanks for finding and fixing the issue with the subcategories order.

I suspect there’s another bug when the `ondemand.yml.erb` enumerates the menu items as I outlined before - the Develop menu item shows up even if there are no items in `/var/www/ood/apps/dev`. It’s my understanding based on reading [Enabling App Development — Open OnDemand 3.0.3 documentation](https://osc.github.io/ood-documentation/latest/how-tos/app-development/enabling-development-mode.html?highlight=development) that the Develop menu should only show up for a user that has their link in `/var/www/ood/apps/dev`.  
Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [August 6, 2024, 4:55pm UTC](https://discourse.openondemand.org/t/alphabetical-order-of-interactive-apps-subcategories/3249/4 "2024-08-06T16:55:56Z")

</div>

Closed on August 6, 2024, 4:55pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
