Complex sentence: The Pumi was next, coming from the hills of western Hungary, and the Mudi the last, from southern Hungary.
Split into simpler sentences: The Pumi was next, coming from the hills of western Hungary. Then the Mudi last, from southern Hungary.