I’ve had a brief look at the plug-in, it offers no hooks to do this, but you could use posts_clauses
hook to alter the query. That said my SQL is not good enough to say how (if it’s possible) to convert the ‘human readable’ value to a decimal, prior to sorting.
Even if it could, my suggestion would be to store the value in a decimal format, and then convert it to ‘human readable form’ when displaying to the user.
Related Posts:
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- Sort by posts that have a featured image?
- Select custom posts by meta_value and sort by a different meta value
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- Orderby meta_value only returns posts that have existing meta_key
- ORDER BY custom field value
- Filter WP_Query for posts having a certain meta-value
- Can I query custom meta data through WP_Query
- Meta Query with AND & OR?
- Sorting a query by custom field date
- Auto sort the wp-admin post list by a meta key
- How do I search an array stored in a custom-field using WP_Query?
- get_pages sort alphabetically by meta value
- How do I order by multiple custom fields using wp_query?
- Trying to perform complex custom field query with order by set to field value
- Query meta field using between
- Order Posts by Closest Numeric Values
- 2 orderby in wp_query with 2 custom fields
- Can serialized arrays in DB be matched against serialized arrays with meta_query?
- Sorting Posts by custom field
- How to get a meta value from all post
- Compare meta_query decimals not working right
- WP_Query multiple use of relation and/or
- Query Problem – Show posts within category ‘x’ that have a custom field between ‘y’ and ‘z’
- How can I sort get_users() by any value (last_name, user defined fields and more)
- Using OR in WP_Query negates the “NOT EXISTS” compare
- Is it possible to order posts by two meta values?
- Using WP Query to search by multiple meta fields
- Difference between ‘LIKE’ and ‘IN’ in meta queries
- Sort by two dates. Default entry date and custom field if present
- Sorting posts by multiple values, combined
- Compare WP Custom Field date
- WP_Query display next custom post from today’s date
- Order by value in serialized custom field
- $wp_query meta_key naming issue [closed]
- Author Page Custom Query WHERE author OR [post meta value] OR [post meta value]
- Meta_query and numeric comparison [closed]
- Adding Custom Fields to Search
- Upcoming Event: How do I sort database by custom date field, but ignore past dates?
- Any way to include custom fields in WP_Query results?
- sort search results by custom fields using dropdown
- Multiple relationships in a query
- WP Query Returning All Posts
- How do I use wp_query for WordPress search?
- Conditional custom field query
- Order query by meta_value with multiple custom fields
- Sorting posts ordered by custom field value
- Sorting WordPress Posts via Custom Field Values?
- Auto Populate Custom Field with Complex Value That Increase by One?
- WP_Query order by custom field, then randomly order some of results
- Advanced search by two criteria – sort by location and date (ascending or descending)
- WordPress Comments sort by custom meta key
- Understanding the orderby in WP_Query?
- Change the sort order for posts to include custom field
- Sort custom post type by multiple custom fields
- Sort alphabetically by custom field
- Trying to sort and display categories(not posts) by custom field: ‘order’
- Custom WP_Query for WordPress Search Results with meta_query
- Meta Query And/Or
- How to combine custom fields to make one order-able value
- WP Group posts by year(desc) > month(desc) > date(asc)
- Sort WP_Query with numeric custom field
- Passing meta_box string to post__in?
- wordpress custom loop ascending descending posts by custom field
- Query post by date (stored custom field meta as yyyymmdd) and differentiate across 12 months
- meta_value and meta_key filtering returning no posts [closed]
- Adding custom field and querying from post table
- change order of images attached to post
- Sort posts by clicks on download button
- How to use a dropdown to filter posts by custom field
- The best way to collision check in WP
- WP_query multiple custom fields not working
- Listing the most popular 8 city (custom fields) as used in posts
- How to sort by custom field value?
- How to query for posts with either one or another custom field
- Multiple Custom Field Query
- How to order posts by number of Vimeo Likes
- How to update custom field of a posts in a particular category
- How can I modify my meta_query to work with prices that are stored in the database that contain dollar signs and commas?
- Filter or order based on custom field
- Compare ACF date field (if exists) and post date and order DESC
- Sort posts on custom field AND after that sort on date?
- sorting in wp query based on custom field value
- Sort posts by custom fields with empty values
- Wrap group of wp query posts to parent div by date/year
- query_posts with sorting on a custom datestamp
- WP Query multiple select form – meta_query help
- How to Order Posts by Custom Fields?
- WP_Query based on multiple metadata comparisons
- Complex WP_Query Using Post Date And Post Meta
- Display posts where date field matches current month?
- Show posts containing or not custom field
- list pages by custom_field?
- Sort posts after filtering them through multiple taxonomies
- Display agents (custom post type) alphabetically, except one who always shows last
- Can’t sort custom column on user.php by number / meta_value_num?
- Query posts by Custom Meta (checkbox) & Genesis Grid Loop
- Order by a meta field in query loop
- WP_Query – order with usort by custom meta
- Sort CPT by taxonomy AND THEN by custom field