fix sort_order config rule