# Sort Main UI semantic model

**URL:** <https://community.openhab.org/t/sort-main-ui-semantic-model/157973>\
**Category:** Items & Sitemaps\
**Tags:** main-ui, semantic-model, openhab4\
**Created:** [August 22, 2024, 6:36pm UTC](https://community.openhab.org/t/sort-main-ui-semantic-model/157973 "2024-08-22T18:36:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Franco](https://community.openhab.org/user_avatar/community.openhab.org/franco/32/73665_2.png) [@Franco](https://community.openhab.org/u/Franco)\
**Post date:** [August 22, 2024, 6:36pm UTC](https://community.openhab.org/t/sort-main-ui-semantic-model/157973/1 "2024-08-22T18:36:02Z")

</div>

Hey,

dont know if this is the right place.

I would like to order the equipments within the auto generated location tiles:

 ![WhatsApp Bild 2024-08-22 um 20.31.37_ea3eeb81](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/6/b/6bcfe3b05adf347e9db922b6d5f544a672fb3148.jpeg)

Its working if i rename groups with leading “Z” to move to the bottom but thats not really beautiful.

Is there a better way to do this?

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [August 22, 2024, 6:56pm UTC](https://community.openhab.org/t/sort-main-ui-semantic-model/157973/2 "2024-08-22T18:56:58Z")

</div>

I don’t remember when this was imeplemented (I think around OH 4.0) but there is a “Default Widget Order” Item metadata which you can use to control then order Items appear in the overvie cards.

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/d/1/d1b3b8305ae4096843fd44215363c3727327181c.png)

> Order index to give to the item’s default widget when it is to be displayed in an automatically generated list with other items (semantic cards, group popups…), unless the order is explicitely configured.
> 
> Lower integer values promote items to the top, higher ones push them to the bottom. Those without an index set will be presented last, in alphabetical order.

---

<div class="post-metadata">

**Author:** ![Franco](https://community.openhab.org/user_avatar/community.openhab.org/franco/32/73665_2.png) [@Franco](https://community.openhab.org/u/Franco)\
**Post date:** [August 23, 2024, 6:49pm UTC](https://community.openhab.org/t/sort-main-ui-semantic-model/157973/3 "2024-08-23T18:49:35Z")

</div>

Exactly what I searched for, thanks a lot for the fast response!

Is there another metadata for conditional hiding equipment?

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [August 23, 2024, 7:00pm UTC](https://community.openhab.org/t/sort-main-ui-semantic-model/157973/4 "2024-08-23T19:00:16Z")

</div>

> [@Franco](#):
>
> Is there another metadata for conditional hiding equipment?

I’m not sure if you can do it on the equipment level.

At the Point level you can set the “default list item metadata” where you can define what widget gets shown for the Point in the Overview tabs. There’s a visibility property which can take an expression.

---

<div class="post-metadata">

**Author:** ![ubeaut](https://community.openhab.org/user_avatar/community.openhab.org/ubeaut/32/119014_2.png) [@ubeaut](https://community.openhab.org/u/ubeaut)\
**Post date:** [August 23, 2024, 11:05pm UTC](https://community.openhab.org/t/sort-main-ui-semantic-model/157973/5 "2024-08-23T23:05:48Z")

</div>

There is also a sort order for the menu order of the pages on the side bar under the side bar and visibility section.
