What happens, is whenever Match subdomains is enabled, the entry will always be served.
So resolving example.mydomain.com will resolve as the second entry.
So, the list is not checked from top to bottom.
This is a bug. If the list is ordered, it should stop checking the remaining records after first match. Otherwise, there is no any sense in ordering. I've reported about it almost a year ago, nothing was fixed. And reminded about it a couple of days ago.
Please, report it to support to speed this up.
Yes I did.
It was along the lines of
„Thank you for reporting it, we are aware of the problem and it is indeed a bug and it will be fixed in a future version of routeros, but we can not say if in the next patch or some later“