Thanks for great help. Just to be clear though as sorting is not working in my 1.5.6.0 shop.
Does the position id need to be unique across the whole shop or just within a category.
My shop currently looks like
Category A : Position 1,2,3,.....
Category B : Position 1,2,3,4,.....
Any ideas?