A computer system that automatically sorts baggage broke down at Haneda airport's second terminal Monday, delaying more than 100 flights and affecting about 36,000 customers, airport officials said.

The problem in the second terminal, which is mainly used by All Nippon Airways, developed at about 7 a.m. and forced baggage to be sorted manually, the officials said.

The system is designed to detect potentially dangerous objects while automatically sorting baggage according to destination cards. The glitch halted both functions but was fixed three hours later.

ANA had to cancel two Haneda-Osaka round-trip flights because of the malfunction, and 135 of its flights were delayed by up to 94 minutes, the officials said. Three flights operated by Hokkaido International Airlines, which uses the same computer system, were delayed by more than an hour.