Sort:  

Tank 3 because tank 4 will not get any water until tank 3 is full.