Is Halo 3 odst set before halo reach?

no it is set around the time of halo 3.

if it was before halo reach then why are there hornets in it?

it is the halo 3 extension pack.

on the cover it says halo 3 odst.