Formation input-to-state stability