Is Mix.exs package ordering significant?

hello

I like to order mix deps by alphabet and want to know if there is any significance to the sequencing/order of the mix deps?

Can I do alpha sorting?
why does Phoenix order mix deps as it does?

The order probably changes how the compatibility algorithm is executed but in the end Mix is going to take the most up-to-date version on first install and with mix deps.update.

So yeah you can order them however you want!

With my team we are splitting in different blocks: App, Phoenix, Observability, Test, Linters, DX, etc…

1 Like

I sort them alphabetically

1 Like

I would block them in functional areas if I had a team working the code, but right its just me and also I am learning the Ash way of doing things and so its helpful just to use alpha sort so its easy

1 Like