                     self!.allQuestionsAnswers.append(answer)
                 }
                 
-                self!.allQuestionsAnswers.shuffle()
+                self!.allQuestionsAnswers.sort(by: {$0.createTime > $1.createTime})
                 self!.tableView.reloadData()
             })
             .addDisposableTo(disposeBag)

        tableView.tableFooterView = UIView(frame: CGRect.zero)
        loadData()
        tableView.register(R.nib.answerTableViewCell)
        tableView.estimatedRowHeight = 44
        tableView.rowHeight = UITableViewAutomaticDimension
    }

    
    override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let item = allQuestionsAnswers[indexPath.row]
        
        if item.type == .answer {
            let view = tableView.dequeueReusableCell(withIdentifier: R.reuseIdentifier.answerTableViewCell)!
        
            view.configure(model: item as! AnswerSummary)
            view.delegate = self
            return view
        } else {
            let question = item as! QuestionSummary
            let view = tableView.dequeueReusableCell(withIdentifier: R.reuseIdentifier.questionTableViewCell)!
            view.configure(model: question)
            return view

        }
        
    }
    
    @IBAction func showPostTypePicker(_ sender: Any) {
