My day got ruined because people knocked on my bedroom door
Why did it ruin your day?
Let's be honest people never knock on the bedroom door to offer their insights and knowledge.
While I understand that sometimes you are needed to be disturbed in case of emergencies, knocking on people's bedroom when they are sleeping is very rude. Specially if the order of business they disturbed you with can wait until the person has woken up. I understand how you feel, and I would make sure you tell them that it's not okay what they are doing to you.
I'll rat them out. A lot of times I was having sex in my room when they were knocking and it's making me angry.
It sounds like you definitely have reason to be disturbed! You should definitely address the situation with them, but think about how it will make them feel if you rat them out in public. Maybe it would be better to speak to them privately.