I always trim first. No matter how careful I try to be, my last border is always off just a smidge. So, I measure from the seam of the last border and then cut. That way, my border is the same width all the way around and I have a perfectly straight line to sew my 1/4" seam on the binding. I do leave pins in the outside border until the binding is sewn on so the layers don't shift.