private void ViewOrderHistory(Customer customer)
 {
     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 {customer.Name}:\n");
                 List<Order> history1 = _shopBL.GetUserOrders(customer, 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 {customer.Name}:\n");
                 List<Order> history2 = _shopBL.GetUserOrders(customer, 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 {customer.Name}:\n");
                 List<Order> history3 = _shopBL.GetUserOrders(customer, 3);
                 foreach(Order order in history3)
                 {
                     Console.WriteLine(order.ToStringHistoryCost());
                 }
                 repeat = false;
                 break;
             case "4":
                 Log.Information("Selected to sort by date (least expensive to most expensive)");
                 Console.WriteLine($"\nOrder History for {customer.Name}:\n");
                 List<Order> history4 = _shopBL.GetUserOrders(customer, 4);
                 foreach(Order order in history4)
                 {
                     Console.WriteLine(order.ToStringHistoryCost());
                 }
                 repeat = false;
                 break;
             case "5":
                 return;
             default:
                 Console.WriteLine("invalid input");
                 break;
         }
     } while (repeat);
 }