/// <summary>
        /// This method removes list filtering.
        /// </summary>
        private void OnCancelFilerClick()
        {
            FilterActive = false;

            foreach (var key in FilterDictionary.Keys.ToList())
            {
                FilterDictionary[key] = "";
            }

            Parameters.DataList.Clear();
            Parameters.DataList = OriginalList.GetRange(0, OriginalList.Count);

            SetPageCount(OriginalList);

            GetPage("first");
        }
        /// <summary>
        /// This method applies list sorting.
        /// </summary>
        /// <param name="columnName"></param>
        protected void OnSortClick(string columnName)
        {
            bool sortAsc = !SortDictionary[columnName];

            OriginalList = _genericSorter.Sort(OriginalList, columnName, sortAsc == true ? "asc" : "desc").ToList();

            if (FilteredList == null || FilteredList?.Count == 0)
            {
                Parameters.DataList.Clear();
                Parameters.DataList = OriginalList.GetRange(0, OriginalList.Count);
                SetPageCount(OriginalList);
                GetPage("first");
            }
            else
            {
                OnFilterInput();
            }

            SortDictionary[columnName] = sortAsc;
        }