Connecting a sump pump drain to a vertical stack
I have a question regarding the waste line for a new sump pump. I have to drain the water into my home's sewer line (I know I'm not supposed to do this but I have no choice). My washing machine waste line (with its p-trap) is installed between the sump pump and the main sewer stack. I can have the pipe from the sump pump come up out of the pit, ell toward the wall, then ell toward the stack. However, I need to know whether to run the line in the wall just above or below my washer's drain pipe (either at around 4 feet high or about 5-6 inches high). Is there any preference one way or the other for how to do this? My preference would be to install it below the washing machine line (so I don't have a 4 foot pipe sticking out of my sump pit) but I don't know if there's a minimum length allowed or preferred between the floor and where the sump pipe would connect with the stack (it would probably be around 5-6 inches above the ground). Any help would be greatly appreciated.