The correct order is mi mejor amigo — never mi amigo mejor. Here's why.
In Spanish, the adjective mejor (better/best) precedes the noun when expressing a superlative or inherent quality. Post-noun placement sounds unnatural and changes the meaning.
Descriptive, classifying, or non-inherent qualities go after: coche rojo (red car), profesor inteligente (smart teacher).
Master this pattern and your Spanish will sound instantly more native!