If my fading memory serves me correctly:
During flap extension, the outboard LE flaps extend with the first flap selection (ie Flaps 1), followed by inboard LE flaps and all TE flaps when Flaps 5 is selected. With subsequent flap selections (Flaps 10 thru 30), the TE flaps extend further.
During flap retraction, (eg after landing) the reverse happens: all TE flaps and the inboard LE flaps retract first, followed by the outboard LE flaps once the TE flaps have fully retracted. In addition, during the landing roll the inboard LE flaps will retract when reverse thrust is selected, and deploy again when it is cancelled.