Yes, in Namely Payroll > Reports > Pay Cycle > General Ledger you can select the option under Sort By.