@streakmachine This sounds oddly familiar to me, particularly the part about the experience and the sarcastic around selected candidate. I recently found out the dude who went for my job at BCC and got it over me is insanely more qualified yet he's gone on record as saying he would prefer to be in more of a leadership role.
What is interesting is the office politics part of it. Did they want new blood and that's ultimately why I didn't get it, regardless of my work ethic? I'd say that's more than likely. I was bitter about it to begin with but not anymore.