Order the following URM programs according to the convention from class:
- Programs with fewer symbols come before ones with more symbols.
- Programs with the same number of symbols are ordered lexicographically
("alphabetically"), according to the following ordering of the symbols: J S T Z 0 1 2 3 4 5 6 7 8 9 ( ) ,
Q1: J(1,1,1) ; Q2: S(5)
; Q3: S(1)S(2) ; Q4: T(3,1)
; Q5: S(1)Z(1) ; Q6: S(12345)
; Q7: Z(1)