             return thread.hasEndorsed ? Icon.Answered.attributedTextWithStyle(answerStyle) : Icon.Question.attributedTextWithStyle(questionStyle)
         }
     }
-    
-    private func countForThread(thread : DiscussionThread, sortBy : DiscussionPostsSort) -> String {
-        switch sortBy {
-        case .VoteCount:
-            return formatdCommentsCount(thread.voteCount)
-        case .RecentActivity, .MostActivity:
-            return formatdCommentsCount(thread.unreadCommentCount)
-        }
-    }
-    
-    private func shouldShowActivityForThread(thread : DiscussionThread, sortBy : DiscussionPostsSort) -> Bool {
-        switch sortBy {
-        case .VoteCount:
-            return thread.voted
-        case .RecentActivity, .MostActivity:
-            return thread.unreadCommentCount != 0
-        }
-    }
-    
-    private func shouldHideCountLabel(thread : DiscussionThread, sortBy : DiscussionPostsSort) -> Bool {
-        switch sortBy {
-        case .VoteCount:
-            return false
-        case .RecentActivity, .MostActivity:
-            return thread.unreadCommentCount == 0
-        }
-    }
 }
 
 extension DiscussionPostsSort {

        }
    }

    private func updateThreadCount(count : String, selectedOrderBy : DiscussionPostsSort, hasActivity activity: Bool, hidden: Bool ) {
        let textStyle = activity ? activeCountStyle : inactiveCountStyle
        countLabel.attributedText = textStyle.attributedStringWithText(count)
        countLabel.hidden = hidden
    }
    
    func useThread(thread : DiscussionThread, selectedOrderBy : DiscussionPostsSort) {

        
        infoLabel.attributedText = NSAttributedString.joinInNaturalLayout(options)
        
        let count = formatdCommentsCount(thread.unreadCommentCount)
        countLabel.attributedText = activeCountStyle.attributedStringWithText(count)
        countLabel.hidden = !Bool(thread.unreadCommentCount)
    }
    
    private func styledCellTextWithIcon(icon : Icon, text : String?) -> NSAttributedString? {
