Oddly enough, it’s actually pretty simple and reliable. It bares the resemblance of a small engine, a cam is in place of the crank and forces the plungers(takes the place of pistons in the cylinder) to pressurize the line. The cam profile takes care of ensuring the firing order is correct.