Prosecution for any violation of law occurring prior to the effective date of this Act is not affected or abated by this Act. If the offense being prosecuted would be a violation of this Act, and has not reached the sentencing stage or a final adjudication, then for purposes of penalty the penalties under this Act apply if they are less than under the prior law upon which the prosecution was commenced.