I don't think it's really random.Since it's dictated by the computer, even though it looks random, i'm sure there are some patterns in the order(for example there are items that statistically sell together) ,But maybe they keep it as a trade secret , only to be known by a small group of developers and managers.