Make TV sorting work again. Improve string cleaning and handling of extensions.