I’m not sure why you’re using the name or values, you should be using the LayoutOrder property on the textlabels, and then having the ListLayout set to follow LayoutOrder.
Also, UIListLayout is automatically set to layoutorder as its default sort order.
FYI name uses alphabetical order, not number order, my guess is that alphabetical order once it hits 10, takes the 1 only into account, as its not a number based sort order, its a string based sort order.