Discontinued Operations vs Unusual or infrequent Items

Discontinued Operations and Unusual/infrequent Items both type of items are non-recurring.
My doubt is why Discontinued Operations are then reported below income from continuing operations, net of tax and unusual/infrequent items are reported before tax and above income from continuing operations

Discontinued operations would be something similar to when a company winds down a business unit so it is effectively removed from the operating section of the financials. An unusual or nonrecurring item is related to their normal business operations but is something that is nonrecurring (ex. goodwill impairments, loss from a fire, etc.).