The correct chronological order for these events that happened during the Russian Revolution would be the following:
-Protesters march in Petrograd during the February Revolution (February of 1917).
-Czar Nicholas II abdicates the throne (March of 1917).
-Vladimir Lenin returns from exile (April of 1917).
-Lenin and the Bolsheviks stage a coup in the October Revolution (October of 1917).
It's important to note that the dates correspond to the Julian calendar, which was official in Russia until 1918. It was thirteen days behind the most widely used Gregorian calendar.
Hope this helps!