@Rana @Cricket Warrior @mominsaigol @emranabbas and others who are waxing lyrical about Sarfaraz's captaincy and claiming that he was wrongly sacked need to understand something.
There is no doubt that on paper, Sarfaraz's record as captain in T20Is is quite impressive. However, there is a lot more to that and when you understand all of this, you will realize (but you may not accept) that sacking him was the right decision.
After winning the Champions Trophy in 2017 and following it up with a 5-0 whitewash of SL in UAE in ODIs, the Pakistan ODI team under Sarfaraz sank faster than Titanic. Starting with the 5-0 drubbing in NZ in Jan 2018 right until the end of the 2019 World Cup, Pakistan was a clown show in ODIs. Their W/L ratio was on par with an associate team and they were getting hammered left, right and center.
In addition to the terrible rut in ODIs, Pakistan were poor in Tests as well, losing a home series to New Zealand and also getting thrashed in South Africa.
In addition to all of the above, his own form had completely dissipated. Between 2018 and 2019, he played no more than 2-3 decent knocks in each format over a very large sample and there were times where he would not even bat and would send tailenders above him to hit some big shots and it was not a good look nor was it sustainable.
In T20Is specifically, the team was on a downward spiral as well. They lost the series in England in 2019 and got whitewashed by Sri Lanka in Pakistan after the World Cup and that was the final nail in the coffin for Sarfaraz as captain. Not only did Pakistan lose 0-3, Sarfaraz flopped with the bat (Avg 22 at a SR of 108).
There was no way Sarfaraz was going to survive Pakistan losing out on the semifinal spot in the World Cup + having the the third worst NRR in the World Cup + playing like a minnow in ODIs for two years + Sarfaraz not performing as a player + getting whitewashed by SL at home.
As far as the T20I record is concerned, we need to take it with a pinch of salt because teams were focused on ODIs during the 2017-2019 period because of two ODI tournaments in three years. Pakistan was the only side that was playing its best team in every series and they took advantage of that. Teams switched their attention to T20Is after the 2019 World Cup because of the two T20 World Cups in next three years.