Change to class Stack

When a Stack is converted to another type of collection, the objects in the Stack are added to the collection from the top of the stack down. Previous releases added them bottom-up.