Battery sorting, a process that screens, selects, and regroups batteries based on key sorting indices such as capacity and internal resistance, proves to be an effective method in reducing inconsistencies among batteries and thereby enhancing overall battery performance. Typically, battery sorting and regrouping involves two stages. In the first stage, sorting indices like capacity and internal resistance are acquired from historical or testing data. Subsequently, in the second stage, batteries are chosen and regrouped according to specific sorting and regrouping criteria and the obtained indices .