Dear Frankie,
Just want to say hi!
The length of the leg (the part above the knee) is one of the good features to separate Greenshank and Marsh Sandpiper. The other common features are thickness of the bill and the overall shape of the bird.
HF Cheung