I've created an array that is populated by asking a user for values.
Now I'm trying to create summary values based off the populated array(s).
Here is the format of the array:
outputData[j] = countryNameString;
outputData[j] = currencyNameString;
outputData[j] = internationalAmountString;
outputData[j] = dollarAmountString;
outputData[j] = paymentMethodString;
outputData[j] = stdDateFormat2.format(expenseDate);
The summary needs to count only those countries that have been entered in [j] and list them in alphabetical order. The second summary gives a count of the payment method [j], and needs to list the payment method whether it is chosen or not. These are to be listed in descending rank by count. I have a switch/case that lists all payment methods.