I love cosmos, too.
Grow them most years in a long, mixed flower row.
I really need to use sturdy stakes and twine because at maturity they'll be 7 foot tall. By fall, the woody stems are brittle. If they fall over, they're done; and, that's when they are most productive.