The order of chapters in the Quran should be maintained from the right side e.g. if Surah Lahab is recited in the first rak?ah, Surah Ikhlas should be recited in the second one, or if some verses were recited from first part and in the next rak?ah from the next part. It is makrooh not to maintain the order. Also, it is not necessary to maintain the order of what the imam has recited.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband