What is the best order for interior painting (walls, trim, windows, etc.)?
Ceiling first, if you're going to do it.
Strip the trim: it's a messy job and you will get stripper in places you don't want it.  Actually, if you could remove the trim without damaging it, I would do that.
Paint the walls.
Paint the trim: you'll likely be using a small paintbrush on the trim, so it'll be easier to get sharp lines where it meets the walls.