90 degree turn in horizontal sink drain
Code in my area(Toronto) allows that. Just make sure to use the proper fitting and deburr the pipe inside and out before final assembly. And 1/4 inch per foot slope. It's not a minimum or maximum figure. That's the only allowable slope. That allows the water running in the pipe to wash the pipe as it flows. Too much slope creates a build up of crud on the side walls.