working on the reOrder method