The arraystring reference is lost when we don't keep the wxFileName variable in scope. This also adds removing invalid paths and checking for correct version before sorting Fixes https://gitlab.com/kicad/code/kicad/-/issues/17749
The arraystring reference is lost when we don't keep the wxFileName variable in scope. This also adds removing invalid paths and checking for correct version before sorting Fixes https://gitlab.com/kicad/code/kicad/-/issues/17749