(#2085) Make replicate indifferent to the order of sequence 'numbers'