It should be easy, but I have a moment. Why does ORDER BY with LIKE sort the matching results as a higher value than the mismatch? To get the results, I expect that I will need to mix ASC and DESC with the rest of the data:
create table foo (name text);
select name from foo order by name like 'm%' desc, name;
source
share