Where a trial court imposes a custodial sentence falling within the threshold for community service consideration (24 months or less) without considering community service as an alternative and without giving cogent reasons why it is not appropriate, this constitutes a misdirection that entitles an appellate court to interfere with the sentence. Custodial sentences should only be imposed as a last resort where non-custodial sentences would trivialize the case. The sentencing discretion of a trial court can only be exercised judiciously where all relevant factors are placed before the court, and judicial officers must ascertain from accused persons (particularly unrepresented ones) the reasons and circumstances for commission of offences to properly assess mitigation.