It's funny, but last I heard McGrath and Donald played cricket. They didn't play bowling statistics ninja.
The reason Donald is rated below McGrath on his career is not just statistical, it comes from having watched both and taking into account other factors, like the types of pitches they played on and how their contemporaries performed.
The Sachin stats you mentioned are meaningless. McGrath played against Sachin in what, 6 tests IIRC. That's noise.
McGrath was almost as good as Donald in the late 90s. They were virtually inseparable (Donald was faster, McGrath got more bounce but both were super effective). But then in the 00s when the batsmen got the upper hand and pitches flattened out worldwide, McGrath got better. He was better. He just knew how to get batsmen out like nobody else.
I saw a decent chunk of Donald. He was great but suffers in the memory from having played in an era with Ambrose, McGrath, peak Pollock, Waqar and Wasim. He was not clearly better than any of these guys, except for short periods. Unlike Marshall, Donald didn't stand out from the other greats around him. McGrath was clearly the best fast bowler from around 2001/02 to 2007 and the gap between him and everyone else was light years.
And that's why slicing stats is completely meaningless when you're trying to understand why McGrath is rightly rated higher than Donald.
FWIW I rate Donald somewhere around 15th best of all time, but I haven't done a list in ages, which is why the broad range of top 30 or top 15. But fast bowlers who I rate higher than him from the top of my head are McGrath, Marshall, Ambrose, Hadlee, Steyn and Garner. I'd have to think about the others.