This might sound incredible ludicrous but please bear with me - after all a fellow Jew once told me how the Shulchan Aruch in a passage described how and when proper defecation should occur (feel free to edit the title and some words - didn't come up with fitting euphemisms).
When I used to live in a dormitory with public bathrooms, my sense of proper bathroom hygiene quickly went down the drain (pun intended) as I quickly came to realize that some people just don't care about the state of the toilet. So at one point I decided to do the same. I used to do my flowing business while standing. Now I moved out and live in a room which has it's own little bathroom. Although I do it sitting I kinda miss the standing position. Feels more natural for me as a man.
In short, does the Shulchan Aruch or the Talmud (which from what I have gathered covers even the most mundane things) or any other writing by Jews in the past (or the present if need be) cover how (in which position) a man should do this thing? (Serious question. I don't like sitting down)