changed the order by logic by sequence in getPartner API