Contact topology and hydrodynamics III: knotted flowlines