Improved sort title handling.