Iahub want enhance multitaske ability in order want sort n array simultaneously array consist m integersiahub choose pair distinct index j 1ijmij then array value position j swap value position strictly great value position jIahub want find array pair distinct index choose order sort n array ascend descend order particular order give input the size array pair help Iahub find suitable array