title: append the data at each section while didselect
body: <p>This is my code:-</p>
  
  <pre><code> let selectedIndexPathAtCurrentSection = questionViewModel.selectedIndexPaths.filter({ $0.section == indexPath.section})
  
              print(selectedIndexPathAtCurrentSection)
  
                  for indexPath in selectedIndexPathAtCurrentSection {
                      print(indexPath)
  
                      tableview.deselectRow(at: indexPath, animated: true)
                      if let indexOf = questionViewModel.selectedIndexPaths.index(of: indexPath) {
                          questionViewModel.selectedIndexPaths.remove(at: indexOf)
                      }
                  }
                  questionViewModel.selectedIndexPaths.append(indexPath)
  
                  print(questionViewModel.selectedIndexPaths)
                  print(indexPath)
  </code></pre>
  
  <p>So according to this </p>
  
  <p>when didselect the row. output shows as:-</p>
  
  <pre><code>[[0,0]]
  </code></pre>
  
  <h2>this is for 1st section .Suppose i select 2nd index then the output as below</h2>
  
  <pre><code>[[0,1]]
  </code></pre>
  
  <p>This output will display at questionViewModel.selectedIndexPaths</p>
  
  <p>when i select 2nd section option then output of questionViewModel.selectedIndexPaths will display as below.</p>
  
  <pre><code>[[1,0]]
  </code></pre>
  
  <p>But while selectng each section i need to append as below.</p>
  
  <pre><code>[[0,1],[1,0]]
  </code></pre>
  
  <p>How to implement ?</p>