Complex sentence: Conventionally, all of the junior partners in the coalition get one deputy, and the deputies are ranked according to the size of their respective parties.
Split into simpler sentences: Conventionally, all of the junior partners in the coalition get one deputy. They are ranked according to the size of their respective parties.