To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
Depends on the container implementation. E.g. IndexedContainer has a method addItemAt(int index), but BeanItemContainer doesn't support it. How about calling container sort after every new item addition.