Question: how to eliminate a specific number of elements randomly in a list

i have to list 
a := sort([.17, .23, .33, .39, .39, .40, .45, .52, .56, .59, .64, .66, .70, .76, .77, .78, .95, .97, 1.02, 1.12, 1.19, 1.24, 1.59, 1.74, 2.92])

b:=[5,seq(0,i=1..19)]:

i want to make aloop on a  by saying that for i=1 eliminate b[1] from a then sort the remining elements of a 

then for i=2 eliminate b[2] from a then sort the rest elimant of a and so on  

Please Wait...