private void ViewOrderHistory(Location location)
        {
            Console.WriteLine("How would you like to sort the Order Histories?");
            Console.WriteLine("[1] Date (most recent to least recent)");
            Console.WriteLine("[2] Date (least recent to most recent)");
            Console.WriteLine("[3] Cost (most expensive to least expensive");
            Console.WriteLine("[4] Cost (least expensive to most expensive");
            Console.WriteLine("[5] Go back");
            bool repeat = true;

            do
            {
                string input = Console.ReadLine();
                switch (input)
                {
                case "1":
                    Log.Information("Selected to sort by date (most recent to least recent)");
                    Console.WriteLine($"\nOrder History for {location.City}, {location.State}:\n");
                    List <Order> history1 = _shopBL.GetLocationOrders(location, 1);
                    foreach (Order order in history1)
                    {
                        Console.WriteLine(order.ToStringHistoryDate());
                    }
                    repeat = false;
                    break;

                case "2":
                    Log.Information("Selected to sort by date (least recent to most recent)");
                    Console.WriteLine($"\nOrder History for {location.City}, {location.State}:\n");
                    List <Order> history2 = _shopBL.GetLocationOrders(location, 2);
                    foreach (Order order in history2)
                    {
                        Console.WriteLine(order.ToStringHistoryDate());
                    }
                    repeat = false;
                    break;

                case "3":
                    Log.Information("Selected to sort by cost (most expensive to least expensive)");
                    Console.WriteLine($"\nOrder History for {location.City}, {location.State}:\n");
                    List <Order> history3 = _shopBL.GetLocationOrders(location, 3);
                    foreach (Order order in history3)
                    {
                        Console.WriteLine(order.ToStringHistoryCost());
                    }
                    repeat = false;
                    break;

                case "4":
                    Log.Information("Selected to sort by cost (least expensive to most expensive)");
                    Console.WriteLine($"\nOrder History for {location.City}, {location.State}:\n");
                    List <Order> history4 = _shopBL.GetLocationOrders(location, 4);
                    foreach (Order order in history4)
                    {
                        Console.WriteLine(order.ToStringHistoryCost());
                    }
                    repeat = false;
                    break;

                case "5":
                    return;

                default:
                    Console.WriteLine("invalid input");
                    break;
                }
            } while (repeat);
        }