Ground spacer first, which goes into the oil seal, then a shim as required, then the sprocket with the offset facing outwards.