LongestSequence: Finds longest sequence of numbers greater than a value