             }
         }
     }
-    /// Flag to sort by missed notifications count
+    /// Flag to sort by missed notifications count: rooms having more missed notification count will come first
     public var missedNotificationsFirst: Bool {
         didSet {
             if missedNotificationsFirst != oldValue {

            }
        }
    }
    /// Flag to sort by sent status
    public var sentStatus: Bool {
        didSet {
            if sentStatus != oldValue {

    /// To be used for CoreData fetch request
    internal var sortDescriptors: [NSSortDescriptor] {
        var result: [NSSortDescriptor] = []
        
        if suggested {
            result.append(NSSortDescriptor(keyPath: \MXRoomSummaryProtocol.spaceChildInfo?.order, ascending: false))
        }
        
        if invitesFirst {
            result.append(NSSortDescriptor(keyPath: \MXRoomSummaryProtocol.membership, ascending: true))
