How does 'auto purchase items' work in dota 2?

It automatically buys items when you can afford it using a list of items for your hero.

Because it does not have strict order I would recommend against using it. Better to set up the quick buy key ?