Committing for backup

Research how an array list works for add
After I retrieve my pieces, they are still in order. How does that work?