correct procedure for putting up door casing (molding)

Hey everyone. I put new prehung door in my closet, and even though I was as careful as I could be, when prying off the door casing (molding), some pieces broke. What is the proper procedure to put up the casing?? Sides first, then top, or top first and then sides. I am thinking there must be a correct way, especially to make sure the mitered joints match up the best they can? Thanks.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
This may help
http://doityourself.com/doors/installmitereddoorcasing.htm
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

HomeOwnersHub.com is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.