To put a list of distances in order the best way is first converting all the measures to a specific unit. Convert all distances to meters:
![\begin{gathered} 1mm=0.001m \\ 1km=1000m \\ 1Mm=1,000,000m \\ 50mm=0.001(50)=0.05m \\ 100m \\ 1cm=0.01m \\ 5millionnm=5million(1*10^9)=0.005m \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/rrcwgo4dg38urrdmgehvi05e39qhyweubw.png)
Having all the emasures in meter you get the next order from longest to shortest:
1Mm, 1km, 100m, 50mm, 1cm, 5million nm, 1mm