Eeschema (where only the parent component is in the view) uses draw order. LibEdit (where the individual items are in the view) uses the viewPriority setting.