Skip doing any DOM manipulation if the ordering is already correct