I'm trying to sort custom posts in alphabetical order, and I've just now realized that capital letters are being sorted before lowercase. Two restaurants start with 'Cal' and 'CAT' with 'CAT' being returned as the first in alphabetical order.
Here're my $args:
$args = array( 'numberposts' => -1, 'post_type' => 'chef', 'meta_key' => 'restaurant', 'orderby' => 'meta_value', 'order' => 'ASC' );
I've also tried changing the 'orderby' to 'LOWER(restaurant)' but had no success with that.