Print a sequence of numbers from 0 to 99, then assign a random number to each number in the sequence, sort the sequence by the random numbers, and then print the numbers in the sequence.
seq 0 99 | awk 'BEGIN{srand()}{print rand()"\t"$0"\n"}' | sort -k1,1n | awk '{print $2"\n"}'