change config schema for sorting