getting sort order from schema instead of settings