Etiquette of wearing and removing footwear
The Prophet (sal Allahu alaihi wa sallam) said, “When any of you puts on his shoes, he should put on the right one first; and when he takes them off, he should begin with the left. Let the right shoe be the first to be put on and the last to be taken off”
[Sahih Al-Bukhari and Muslim]
This Hadith sheds light on the etiquette of wearing as well as removing shoes or sandals etc.
Therefore as Muslims we are advised to follow the Prophets example (sal Allahu alaihi wa sallam) when we are performing such actions.
And Allah knows best!