Notwithstanding any other provision of the law to the contrary, any person convicted of a criminal offense in a court of general sessions has the right to appeal the sentence imposed, without regard to whether the person was convicted upon a plea of guilty or upon a plea of not guilty.