A person who willfully fails or refuses to complete successfully a term of residential confinement or a program of treatment ordered pursuant to this paragraph is guilty of a misdemeanor.
An offender who is imprisoned pursuant to the provisions of this paragraph must, insofar as practicable, be segregated from offenders whose crimes were violent and, insofar as practicable, be assigned to an institution or facility of minimum security.
without regard to the sequence of the offenses and convictions. The facts concerning a prior offense must be alleged in the complaint, indictment or information, must not be read to the jury or proved at trial but must be proved at the time of sentencing and, if the principal offense is alleged to be a felony, must also be shown at the preliminary examination or presented to the grand jury.
NRS 484C.400