reorderd modifyable variables according to priority