What you are referring to is the order of adjectives that are not separated by the word "and". Here "doctor" and "professor" are nouns. The word order does not matter. Usually, the main profession, or the most important occupation, in the mind of the speaker, would be mentioned first.
Here what matters is that doctor is said first in the sentence: "Rania (is a) doctor and (a) professor.
The "sounds" that sentences can have, but words by themselves do not have, is "nunation" that appears when words are in a sentence to show their "case". In this sentence, though, the "sounds" I think you are referring to are the feminine endings added to "doctor" and "professor".