Sordid comes from the Latin word sordes, "dirt." Something that is filthy or run down such as a neighborhood or someone's living conditions can be called sordid, but it is usually used figuratively to mean immoral or dishonest.