Make `_getSelectedListItems` return a properly ordered array.