When editing strokes/shapes after you’ve drawn them, you can edit their foreground to background drawing order.
In the stroke/shape list, you can drag and drop strokes/shapes to change their drawing order, and to group them under folders. For more information on using the stroke/shape list, see Working with the Stroke/Shape List.