Photovoltaic battery group order ranking