Sure, to get a random number in that range you need to use
nr = 10000001 + rnd(50000001 - 10000001)
Save them in an array of 100 elements and then sort that array with a sorting algorithm (straight selection sort, straight insertion sort, quicksort, bubble sort, ... I suggest searching the internet). Or if you don't need to sort it, you can just search for the biggest number each time, eg in pseudocode
for all numbers
maxnumber = 0
for each array item
if array item > maxnumber
maxnumber = array item
endif
next array item
print array item
set array item to 0 (so it won't be the biggest number anymore)
next number
Cheers!
Sven B