How to make the P-Trap sloped
Most of them are 89 degree bends (not 90 degrees) so they have about 1 degree of slope which is all that is needed.
most diagrams exaggerate the slope so that the reader can see it, and so that the picture will fit on the page.