Orderby custom field for custome post type
The argument is orderby not order_by but I am not sure what sort_by is. If that is a custom meta field you need to alter the query. ‘meta_value’ – Note that a ‘meta_key=keyname’ must also be present in the query. Note also that the sorting will be alphabetical which is fine for strings (i.e. words), … Read more