How do i pick the object with the smallest value

i need to make an inventory system on gdevelop with this event logic

i have alrady made this in construct 3 as you can see but on gdevelop without the:"pick lowst ui slot " i don’t know how to make this.

this is what i made in gdevelop for now

this is what i made in gdevelop for now, sorry for my english but i am italian

t

Repeat for each object
Allows you to select order value and whatever

thank you very much, now the inventory system works correctly ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀