Yes, the order of completion of your Master Programme Elective (MPE) and Master Free Elective (MFE) does not matter. You can take your MPEs and MFEs during any block, as long as you ultimately complete three electives, where two are MPEs.