The main part of the order is base approximately in: votes/age^2
Some of the details are part of the secret sauce, but kens did a blackbox analysis to try to guess more details. It's an old post, so many details may have changed since it was published, but I guess the main ideas remain.