Join Date: Aug 2011
Location: Barcelona, London, on a plane
Programs: IB+ Gold, TK E+, Hyatt Globalist, Marriott LTP, IHG Diamond
Posts: 14,182
Also note that the Sri Lanka side trip would credit to your account first - since the check-out date would be earlier.
As a result, the India stay may not credit properly at all - so you will have to put in some effort to get Marriott to credit that stay.