Yes, ground is pointing out their takeoff sequence, which means they are to takeoff after that aicraft. Usually, the way JFK works, on taxi out ground will assign your departure runway and point you in the correct direction to get to the runway. At some point you'll merge in behind another aircraft, which will be your sequence, and they will then instruct you to monitor tower at that point, instead of waiting until you get to the runway.