The cork, if it's scale 'roadbed', should have angled sides on one side. It comes bound, as a single strip, but you can see an angled cut running down the middle of it. You separate the single strip into two thinner strips, place the vertical edges back-to-back over your centerline (track's main axis), and the angled edges now face outward. Pour whatever you need to use a 1" artist's longish bristled brush in broad strokes downward toward the ungroomed bead of poured ballast. Keep stroking and let the grains get pushed into the ties between the rails until those are only flush up to the tops of the ties, and then move outside the rails and do the same. The grains 'should' eventually adopt a natural 'angle of repose' over the angled edges of the cork roadbed.
When you have the ballast looking good, take the artist's brush by the hairy end and tap the handle gently all along the rails, tap-tap-tap, and you'll see most of the grains remaining on the tops of the ties move off and settle where the rest of them need to be.
When you're ready, pre-wet the ballast with a garden sprayer hand spritzer (not the large pump kind, the squeeze handle type) and give the ballast a good blast from a safe distance. If you're too close you'll move some of the ballast, so keep the nozzle away from the ballast. The idea is to use a drug store 70% isopropyl alcohol and water mix to break the surface tension down into the ballast so that your dribble adhesive mixture won't bead and run off the top of the ballast leaving gouges in it and a mess of wasted glue mix. So, a single wetting blast atop the ballast's surface won't be nearly enough...it needs to be partly soaked down to a depth of about 1/4" or more. Too much and the glue will still run out since the alcohol and water mixture is taking up space in the interstices between the grains.
People have their own preferences for glue. Everyone uses wood glue if they have a wooden frame; it's cheap, and it's available. That's what I use, maybe one part aliphatic resin wood glue to about four parts water, and add two drops of liquid dish detergent. I also add a couple of small pebbles to the empty wood glue bottles I use to dribble the glue mixture onto the pre-wetting ballast.