Adding to a custom state will always add to the bottom of the list. The only 2 ways around this are if the RG displaying the data has a sort applied to some metric you can control, or if when adding the item, you re-write the entire custom state with a new order.