If I understand the problem (and I'm not entirely sure I do) it sounds like you need something a little more complex to determine what the last one clicked is. The listbox itself has no information on what order things are clicked in, so you have to provide it.
In the example I've posted, the last item clicked in Listbox will be listed last in the ItemNames array from Listbox 2.
It's also possible to imagine attaching an "order" integer to each selection. For instance, each selection could be kept in a cluster containing a string (the selection) and an integer (the order in which it was selected).
If needed, please feel free to post example code of what you're trying to accomplish.
Good coding.