To ... from vs. From ... to

A few times I saw phrases with the structure exemplified by the following sentence:
“The company increased to %20 from 10% its market share.”
That “to” precedes “from” confuses me. I would use “The company increased from 10% to 20% its market share.” Is there any rule that governs situations when “from” and “to” prepositions are used together?

I think both are ok?