Replying to "How to obtain the selection order of objects in C++"