[Q11.8]keep tracking of rank of numbers from a data stream