A person sentenced by a court in a proceeding for variation or breach of a sentencing order has a right of appeal against sentence as if:
(a) the court had immediately before imposing it found the person guilty, or convicted the person, of the offence in respect of which the sentencing order was originally made; and
(b) the sentence was a sentence imposed on that finding of guilt or conviction.