I have 10 entries and I need assign them IDs from 0 to 9, based on ascending dates.

Do you know how to do it?

I’m using the following formula to get an ordered list of dates:

`thisTable.date.Sort()`

But now I’m stuck, as I can’t find any function to find the position of a value in the array.

Do you know any workaround?

Thanks!