Background: Due to the partial shading effects on different photovoltaic (PV) modules in a PV array, PV module operating conditions are inconsistent, and PV array output power is significantly reduced. Although the maximum power point (MPP) of a non-uniform irradiance PV array can be observed through global maximum power point tracking (GMPPT), no evaluation of the array's energy potential has been done. Objective: One of the most effective solutions to overcome the negative effects of partial shading in PV systems is the PV array reconfiguration process. To optimize the electrical structure of the PV array as the PV modules are partially shaded in a non-uniform manner, this study proposes a promising technique for dynamic reconfiguring a PV array in order to improve the extracted maximum power from a PV array under partial shading conditions (PSC). Methods: PV modules are rearranged by iteratively sorting them to allow the PV array with nonuniform irradiance to produce as much power as possible. This is conducted by applying a switching matrix to implement a PV-switched system approach. The proposed system with different PV array dimensions (e.g., 3×4, 4×6, and 5×8) is assessed in order to validate the proposed algorithm. A MATLAB/Simulink PV array developed model is used to find the global maximum power point for the different PV array dimensions in both pre-reconfiguration and post-reconfiguration states. Results: A detailed numerical comparison of the extracted power from the proposed system has been provided. Conclusion: The results show that the proposed system has the potential to extract the exact global maximum power for a PV-switched system under PSC, irrespective of array dimensions, according to simulation results.