vatican.va/archive/ccc_css/archive/catechism/p123a9p3.htm
The Church and non-Christians
839 "Those who have not yet received the Gospel are related to the People of God in various ways."325
The relationship of the Church with the Jewish People. When she delves into her own mystery, the Church, the People of God in the New Covenant, discovers her link with the Jewish People,326 "the first to hear the Word of God."327 The Jewish faith, unlike other non-Christian religions, is already a response to God’s revelation in the Old Covenant. To the Jews “belong the sonship, the glory, the covenants, the giving of the law, the worship, and the promises; to them belong the patriarchs, and of their race, according to the flesh, is the Christ”,328 "for the gifts and the call of God are irrevocable."329
840 And when one considers the future, God’s People of the Old Covenant and the new People of God tend towards similar goals: expectation of the coming (or the return) of the Messiah. But one awaits the return of the Messiah who died and rose from the dead and is recognized as Lord and Son of God; the other awaits the coming of a Messiah, whose features remain hidden till the end of time; and the latter waiting is accompanied by the drama of not knowing or of misunderstanding Christ Jesus.
841 The Church’s relationship with the Muslims. "The plan of salvation also includes those who acknowledge the Creator, in the first place amongst whom are the Muslims; these profess to hold the faith of Abraham, and together with us they adore the one, merciful God, mankind’s judge on the last day."330
842 The Church’s bond with non-Christian religions is in the first place the common origin and end of the human race:
All nations form but one community. This is so because all stem from the one stock which God created to people the entire earth, and also because all share a common destiny, namely God. His providence, evident goodness, and saving designs extend to all against the day when the elect are gathered together in the holy city. . .331
843 The Catholic Church recognizes in other religions that search, among shadows and images, for the God who is unknown yet near since he gives life and breath and all things and wants all men to be saved. Thus, the Church considers all goodness and truth found in these religions as "a preparation for the Gospel and given by him who enlightens all men that they may at length have life."332
844 In their religious behavior, however, men also display the limits and errors that disfigure the image of God in them:
Very often, deceived by the Evil One, men have become vain in their reasonings, and have exchanged the truth of God for a lie, and served the creature rather than the Creator. Or else, living and dying in this world without God, they are exposed to ultimate despair.333
845 To reunite all his children, scattered and led astray by sin, the Father willed to call the whole of humanity together into his Son’s Church. The Church is the place where humanity must rediscover its unity and salvation. The Church is “the world reconciled.” She is that bark which “in the full sail of the Lord’s cross, by the breath of the Holy Spirit, navigates safely in this world.” According to another image dear to the Church Fathers, she is prefigured by Noah’s ark, which alone saves from the flood.334
My understanding of the above is that Judaism is “ranked” above Islam in regards to being the most truthful (here the term is being used as describing how close to the truth a faith is; like saying 1.1 is more truthful than 2 when describing 1) and in regards to being divinely inspired (Judaism is, Islam is not). I believe that Islam is separated from the other non-Christian, non-Jewish faiths because it contains the core teachings and a more truthful (see above in regards to the term) though still flawed understanding of God. As for who the Church views as being Muslim, I would assume the Church is referring to those who adhere to orthodox Islam (the only way to clearly answer this would be to find a further explanation of relevant portion of the CCC). I do not believe the usage of the term “Muslim” in the CCC is referring to the Bahai faith.
As for Mormons, I do not believe that the Church considers them Christian, but since I have no real interest in Mormonism or Protestantism as a whole I’m not very versed on this.