So you get the values in the wrong order but want to retrive them in the correct order. Maybe a
Stack
Would work for you.
http://msdn.microsoft.com/en-us/library/3278tedw.aspx
Represents a variable size last-in-first-out (LIFO) collection of instances of the same arbitrary type.