No, the order of completion of your Master Programme Electives (MPEs) and Master Free Elective (MFE) does not matter. 

You can take your MPEs and MFE during any block, as long as you ultimately complete three electives, where at least two are MPEs.