Task: Text to Code
Input (English): In what years did a movie receive a 4 or 5 star rating, and list the years from oldest to most recently?
Output (English): SELECT DISTINCT YEAR FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID  =  T2.mID WHERE T2.stars  >=  4 ORDER BY T1.year