change to vector numbering

selected vector is no longer moved to the end of the list. selectedCount
introduced to track the position of the selected vector
Revert "change to vector numbering"

This reverts commit 7484859cb25165074c7fb8003d97714f82a1dfdc.