There are a few factors that go into making a batting lineup in baseball. The first is to look at the handedness of the pitchers that the opposing team is using. You want to matchup your left-handed hitters against right-handed pitchers, and vice versa. The second factor is to look at the platoon splits for your hitters. This is where you look at how a hitter fares against pitchers of the same handedness. The third factor is to consider the game situation. You want to put your best hitters in the spots where they’re most likely to drive in runs.