apply_filters( 'inventory_presser_meta_value_or_meta_value_num' )

The field we want to order by is either in $_GET[‘orderby’] when the user has chosen to reorder posts or saved in the plugin settings ‘default-sort-key.’ The sort direction is in $_GET[‘order’] or ‘default-sort-order.’