Find nth largest value in array using bubble sort.