Manos Chorianopoulos

fix campaign sorting

......@@ -747,7 +747,7 @@ public class swiftApi {
}
let sortedCampaigns = filteredCampaigns.sorted {
$0._sorting < $1._sorting
($0._sorting ?? 0) < ($1._sorting ?? 0)
}
getCampaignsCallback(sortedCampaigns);
......@@ -816,7 +816,7 @@ public class swiftApi {
}
let sortedCampaigns = filteredCampaigns.sorted {
$0._sorting < $1._sorting
($0._sorting ?? 0) < ($1._sorting ?? 0)
}
getCampaignsCallback(sortedCampaigns);
......@@ -2770,7 +2770,7 @@ public class swiftApi {
// }
let sortedCampaigns = campaigns.sorted {
$0._sorting < $1._sorting
($0._sorting ?? 0) < ($1._sorting ?? 0)
}
GlobalVariables.campaigns = sortedCampaigns
......@@ -2914,7 +2914,7 @@ public class swiftApi {
// }
let sortedCampaigns = campaigns.sorted {
$0._sorting < $1._sorting
($0._sorting ?? 0) < ($1._sorting ?? 0)
}
GlobalVariables.campaigns = sortedCampaigns
......