How to rank order a list of five items?

I am very new to appgyver and am seeking some guidance on my app. I am trying to develop an app thatasks the user to assign ranking preferences to list of five items. Any suggestions would be appreciated.

Hi, check out the SORT_BY_KEY formula:

Thanks. I see that would be helpful for sorting based on a variable. But, what I am looking to do is to present five items to the user and then have the user rank them 1 through 5 based on their preference.

then, i would use some kind of form, maybe utilizing a dropdown field or native picker for choosing ranking for each item.