public boolean isSorted()
    {
        boolean sorted = true;

        // TODO: Determine if the array is sorted.
        if (list.size() == 0)
        {
        	return sorted;
        }
        else
        {
	        String previous = list.get(0);
	        for (String each : list)
	        {
	        	if (previous.compareTo(each) > 0)
	        	{
	        		sorted = false;
	        		break;
	        	}
	        	previous = each;
	        }
        }
        return sorted;
    }