Using custom field as ‘orderby’ value causing post grouping by publish date

My query was wrong. Should be using ‘meta_value’ instead of ‘meta_value_num’ since my ‘sort_name’ is text based, not numeric. Big thanks to John Huebner on the ACF message board for answering this one.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)