Where did the word shortstop in baseball come from?

I believe that the word "shortstop" was derived from the word "longstop", which is a position in Cricket.When Baseball was first being played, the position between 2nd base and 3rd base needed a name,and since it was closer to the hitter than the longstop in Cricket,it was designated as the "shortstop".