Earlier quoted context omitted.
Some quick googling estimates 6 tsp of sugar is about 25 grams or 100 calories. For comparison, a 32oz bottle of Gatorade G2 (low calorie) has about 19 grams of sugar, and a 32oz bottle of normal Gatorade has about 56 grams. Adding - 1/2 tsp of salt is 2.5 grams of which it is 1 gram of sodium. G2 - 435mg sodium, 120mg potassium; normal - 400mg, 100mg.
Looking at the info for pedialyte, 12 oz contains 370mg of sodium, and 9g of sugar. So for 32oz, that 986mg sodium, and 24g sugar, which seems spot on to the articles recommended ratios. https://pedialyte.com/products/classic/mixed-fruit
Hydration is no joke.