12345
$sheet->Range("A2:E$excelLength")->Sort({ Key1 => $sheet->Range('a1'), Order1 => xlAscending,})