Sarfraz resists but SL stay ahead