Illustrator
Selecting and arranging objects
Stacking objects
Specify where to add new objects in the stacking order
Change the stacking order using the Layers panel
Change the stacking order using commands
This page on the Web