As an FYI, exit pipes that slope down more steeply carry more water when full of water. Having the p-trap at the top can also help if you do not have an anti-vortex shield in place to keep air from being sucked into the pipe during high water.