This should get auto-dividers based on link text but shouldn't produce duplicate dividers. Should also add more dividers if new list elements are added. Note that removing Bertie should cause the duplicate "A" dividers to merge and trigger a "listviewchange" event.
This uses a custom selector to draw text from formatted list items.
This should get auto-dividers based on text. NB this has intentionally blank li elements to check they don't get dividers.
Non-sorted list will produce duplicate auto-dividers.