When coupling a double or triple, which trailer should be attached last?

When coupling a double or triple combination, the rearmost trailer should be the final trailer attached.
DMV Writen Test