In most jurisdictions the party with the burden (Plaintiff or the prosecution) opens first and closes last. If they close first, they are usually afforded rebuttal.