How would I make a specific order for a UI List?

  1. What do you want to achieve?
    I want to make a list which is ordered depending on a value. An example is in simulator games, best pets are put at the top of a list.

  2. What is the issue?
    I have been looking for UIConstraints but they only show Alphabetical Order or Layout Order in explorer.

  3. What solutions have you tried so far?
    I have looked all over YouTube for solutions but, well, nothing.

I don’t know if this is to do with scripting but I hope you can find a solution because if it is possible with evidence, it is possible.

Regards, Flash :slight_smile:


You could try using UIGridLayout, and put the Order to Name, and put Numbers to the UI Names. Tell me if you need more information about it, and I hope you have a good day! :happy3:

1 Like

Hey! Nice suggestion but not exactly what I need. I will send a picture in a minute.

These boxes with objects are the cells that need ordering.
However they are named.
What I want to do is it will put a value in the text button and the highest value is at the top of list, and lowest is at bottom.

Unless it’s done manually (which is hard) I dont see another way besides the UIGridLayout or the UIListLayout…


I can’t really explain it, but you could somehow make it so if the Player owns that Item, then it’ll be in that position, bla bla bla, but that’s probably almost impossible cause you’ll have to check if there is another Item with greater value, which will be in that position instead, bla bla bla…just forget about it. I personally just suggest the UIGridLayout or UIListLayout. Have a good day btw :happy3:

1 Like

Ok I will keep attempting to find solutions. Thanks!

Look into attributes and designate them by your own value… then i believe you can sort according to this attribute:

1 Like