Corrected position of ordered and set tomaintain canonical ordered list