Chodail siad.

They slept. The were sleeping would be - Bhí siad ag codladh. Both phrases convey the same idea. However there are programs and lessons that get real picky about word order.