Sentencing by the criminal justice system