I\'m working on rank assignment to a list of values that is sorted in a file.
A miniature example is
Input:
1 2 2 2 3 4
Instead