public async void SortClosingDownCommandExecute()
        {
            await ClosePopup();

            var tempRecords = _dealList.OrderByDescending(c => c.estimatedClosingDate).ToList();//Descending order

            DealList.Clear();
            foreach (var item in tempRecords)
            {
                DealList.Add(item);
            }
            IsStopVisible = false;
            var dealClosingDown = DealList.FirstOrDefault();

            MessagingCenter.Send <object, DealsMainModel>(this, "DealsSortClosingDown", dealClosingDown);
        }
        public async void SortDueDateUpCommandExecute()
        {
            await ClosePopup();

            var tempRecords = _dealList.OrderBy(c => c.decisionDueDate).ToList();//ascending order

            DealList.Clear();
            foreach (var item in tempRecords)
            {
                DealList.Add(item);
            }
            _isStopVisible = false;
            var dealDueUp = DealList.FirstOrDefault();

            MessagingCenter.Send <object, DealsMainModel>(this, "DealsSortDueUp", dealDueUp);
        }
        public async void SortClearCommandExecute()
        {
            await ClosePopup();

            var tempRecords = _dealList.OrderBy(c => c.dealId).ToList();

            DealList.Clear();

            foreach (var item in tempRecords)
            {
                DealList.Add(item);
            }
            IsStopVisible = false;
            var dealClear = DealList.FirstOrDefault();

            MessagingCenter.Send <object, DealsMainModel>(this, "DealsSortClear", dealClear);
        }