When loading a trailer, the heaviest cargo should be placed:

It is important that vehicles are not top-heavy, if at all possible. A top-heavy vehicle is at an increased risk of rollover. Place the heaviest pieces of cargo underneath lighter pieces of cargo.
DMV Writen Test