 
     @IBOutlet weak var tableView: UITableView!
 
-    var segControl:HMSegmentedControl! = JSHMSegmentedBridge.segmentControl(titles: ["Notifications".localized,"Issues".localized,"Event".localized])
+    var segControl:HMSegmentedControl! = JSHMSegmentedBridge.segmentControl(titles: ["Event".localized,"Issues".localized,"Notifications".localized])
     
     var notificationsData:[ObjNotification]! = []
     var issuesData:[ObjIssue]! = []

    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {

        if (segControl.selectedSegmentIndex == 0) {
            return self.notificationsData.count
        }else if (segControl.selectedSegmentIndex == 1) {
            return self.issuesData.count
        }else if (segControl.selectedSegmentIndex == 2) {
            return self.eventsData.count
        }
        
        return 0

        }
        self.tableView.reloadData()

        if( (self.segControl.selectedSegmentIndex == 0)&&self.eventsData.isEmpty ){
            self.svc_getUserEventsRequest(self.eventPageVal)
            self.tableView.allowsSelection = false
        }else if( (self.segControl.selectedSegmentIndex == 1)&&self.issuesData.isEmpty ){
            self.tableView.allowsSelection = true
            self.mvc_getIssuesRequest(self.issuesPageVal)
        }else if( (self.segControl.selectedSegmentIndex == 2)&&self.notificationsData.isEmpty ){
            self.mvc_getNotificationsRequest(self.notisPageVal)
        }else{
            
        }
