Fixed CCD loading routines, now respecting stratum_id order.