I would have to find my Goldsworthy book to confirm this, but if I am correct the hastati, princepes, and triarii would from the center of the line; on either side of them were auxiliaries from their various allies; on the wings would be cavalry. It also seems that these troops were arranged in the quincunx formation as well.