Fix filed type and add index on schema.
Add sort_order of field.