Only store current position in a key array that is sorted.