validate and sort - run this script after adding new values so ffctl configbackup does not stop working.