fix 1529 selectedItems order