//Directs the program to run the selected search type
        public static Int32 SearchType(WineItem[] wineItems, String temp, Int32 selection3_Int32, Int32 arrayCount)
        {
            Int32 foundLocation = -1;

            switch (selection3_Int32)
            {
            case 1:
            {
                foundLocation = SequentialSearch(wineItems, temp);
                break;
            }

            case 2:
            {
                WineItem.BubbleSort(wineItems);
                foundLocation = BinarySearch(wineItems, temp, arrayCount);
                break;
            }
            }

            return(foundLocation);
        }