sku – Can we display discontinued products in website?

Can we display discontinued sku?

I have a some SKU’s in my website, but after some time it’s discontinued, but people still search for it. I’ve seen this feature in many websites showing discontinued products after all the other products with an icon like the Sale tag on top of the picture.
Can we to do this?