When the panel is registered and has a parent, it's not ordered in the parent's "children"-list using the `bl_order` property of the class.
Behavior before the test:
{F13145892}
This is the result of running the script in the attached test file **after** the patch:
{F13145885}
Test file:
{F13145887}