Why did Moshe mention in the beginning of דברים the controversy of Korach before the Egel

Why did Moshe mention in the beginning of דברים the controversy of Korach before the Egel - didnt the Egel happen first? - great insight by Rebbe Reb Heshel of Krakow

Why did Moshe mention in the beginning of דברים the controversy of Korach before the Egel
Rabbi Eli Silberstein