added data migration for ordering fields