It's a tough one; one of their major problems was that they never came up with a way to acquire a decent source of cavalry, which made offensives almost impossible for them.
The Qing and Tang found ways around this, but the Qing had Manchuria and were better able to assimilate Mongolians than the Song ever were. The Tang had sources available that the Song simply lacked.