# Calculating a unique row int (not unique ID)

**URL:** <https://community.fibery.io/t/calculating-a-unique-row-int-not-unique-id/4931>\
**Category:** Get Help\
**Created:** [August 9, 2023, 6:53am UTC](https://community.fibery.io/t/calculating-a-unique-row-int-not-unique-id/4931 "2023-08-09T06:53:47Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [August 9, 2023, 7:02am UTC](https://community.fibery.io/t/calculating-a-unique-row-int-not-unique-id/4931/3 "2023-08-09T07:02:17Z")

</div>

Related

> [@How to access entities' "natural sort order" in Rules/Buttons/scripts?](https://community.fibery.io/t/how-to-access-entities-natural-sort-order-in-rules-buttons-scripts/1967):
>
> Entities can be (re)ordered manually via dragging (i.e. in a Card or List view). How can such entities’ relative order be determined or set in a Rule/Button/script?

> [@Can we translate the ranking number to a normal number?](https://community.fibery.io/t/can-we-translate-the-ranking-number-to-a-normal-number/4793):
>
> Hi, What we are trying to achieve is the following: We have a list with entities We want ‘normal numbers’ in the #Volgorde field So first entity is 1, last entity is 12 If an entity is added or removed, then also update that number So via script we received the ranking number. But what is the next step to translate that ranking number to the ‘ranking field’ (so numbers 0 - 12?) sweat_smile End goal: in automations we want to use that ranking number to determine if we should upda…

---

_[View the full topic](https://community.fibery.io/t/calculating-a-unique-row-int-not-unique-id/4931)._
