Each time you create that object or object family set a variable (We will Call it Tracker)
Set tracker = object.UID
This will make tracker be a higher number for the newest object.
When you go to pick up the object
Sort by: Pick highest/lowest
and pick highest tracker.