Should I get a wheel alignment done just before replacing my tyres ie with full indication of what the extended wear pattern is?

Or should I get new tyres all round and then get an alignment done with ~5k on the tyres to show at least an indication of where they will wear?