I have a question that I don't know where I can ask it and so I prefer to ask it here.

I submitted one of my paper in an ISI journal in september 2011 for possible accepting and publishing there. Also I needed my paper for defending from my thesis for PHD grade in my university. During this time, I asked the journal for the situation of my paper and they said me that your paper is on the review and referee does not answer. I thought that the referees was reviewing my paper and I was waiting for their comments or revised. BUT after more than two years (about 26 months), the journal answered to me with this sentences "By a QUICK view on your paper, it is not interested for our journal and so we reject your paper" I think this journal could answer earlier to me. Because unfortunately during this time I can not submit my paper in another journal and some authors published my results in another journals. So I want to complain from the journal. But I don't know how I can do this. Please help me. Thanks everyone