private void FillElementSorters()
        {
            Options.ElementSorterPlayer.IsPlayer = true;
            foreach (var itemName in Config.Instance.PanelOrderPlayer)
            {
                switch (itemName)
                {
                case "Deck Title":
                    Options.ElementSorterPlayer.AddItem(new ElementSorterItem("Deck Title", Config.Instance.ShowDeckTitle, value => Config.Instance.ShowDeckTitle = value, true));
                    break;

                case "Cards":
                    Options.ElementSorterPlayer.AddItem(new ElementSorterItem("Cards", !Config.Instance.HidePlayerCards, value => Config.Instance.HidePlayerCards = !value, true));
                    break;

                case "Card Counter":
                    Options.ElementSorterPlayer.AddItem(new ElementSorterItem("Card Counter", !Config.Instance.HidePlayerCardCount, value => Config.Instance.HidePlayerCardCount = !value, true));
                    break;

                case "Draw Chances":
                    Options.ElementSorterPlayer.AddItem(new ElementSorterItem("Draw Chances", !Config.Instance.HideDrawChances, value => Config.Instance.HideDrawChances = !value, true));
                    break;

                case "Wins":
                    Options.ElementSorterPlayer.AddItem(new ElementSorterItem("Wins", Config.Instance.ShowDeckWins, value => Config.Instance.ShowDeckWins = value, true));
                    break;
                }
            }
            Overlay.UpdatePlayerLayout();
            PlayerWindow.UpdatePlayerLayout();

            Options.ElementSorterOpponent.IsPlayer = false;
            foreach (var itemName in Config.Instance.PanelOrderOpponent)
            {
                switch (itemName)
                {
                case "Cards":
                    Options.ElementSorterOpponent.AddItem(new ElementSorterItem("Cards", !Config.Instance.HideOpponentCards, value => Config.Instance.HideOpponentCards = !value, false));
                    break;

                case "Card Counter":
                    Options.ElementSorterOpponent.AddItem(new ElementSorterItem("Card Counter", !Config.Instance.HideOpponentCardCount, value => Config.Instance.HideOpponentCardCount = !value, false));
                    break;

                case "Draw Chances":
                    Options.ElementSorterOpponent.AddItem(new ElementSorterItem("Draw Chances", !Config.Instance.HideOpponentDrawChances, value => Config.Instance.HideOpponentDrawChances = !value, false));
                    break;

                case "Win Rate":
                    Options.ElementSorterOpponent.AddItem(new ElementSorterItem("Win Rate", Config.Instance.ShowWinRateAgainst, value => Config.Instance.ShowWinRateAgainst = value, false));
                    break;
                }
            }
            Overlay.UpdateOpponentLayout();
            OpponentWindow.UpdateOpponentLayout();
        }