small tweak to name order comparison