Reorder profile list when add and update profile