order of entities selected by SSGET

Seems to me that there is a wrong behavior of SSGET function.The order of entities is determined by entity's time of creation and not by the order in which the entites were selected.First I draw a line (let's call it L1). Then I draw second line (L2). When ssget is applied I select first line L2 and then line L1.The problem is that (ssname MySet 0) always returns L1.Although this can be avoided by:(setq ent1 (car (entsel)))(ssadd ent1 set1)in a while loop. But then the entities are not highlighted.Any ideas how to solve this? (v. 7.1.0012)