Prior to implementing canvas suppor they were in the order they are in the scenes dock. After switching from obs_frontend_get_scene_names() to obs_canvas_enum_scenes() this seems to not always be the case.