I usually sand up to 600 before primer, then sand the primer and first colour coats with 800. Then 1000, 1200 and finally 2000 on the gloss coats.
Of course if you want the grain texture to show through ( some people do depending on what you like) through ignore that > ;D