Does ListSelect keep the order of items added?

When using addItem method to add Strings to ListSelect (com.vaadin.ui), is it guarranteed that the display order is the same as the order items were added?
If not, what’s the recommended method to keep the order?
Is there another list box that will keep the order?

Yes, if I understand correctly, they should keep the order.

-Olli

Yes, if you are using Vaadin 8, and have not set custom data provider, I think it should. Say you use ListDataProvider, you can sort it etc. by using methods provided.

Olli and Tatu: thanks for the clarification.