0

I would like to random sort a List<MyObject>. Is it possible ?


I though about another solution, using specific random number: I mean, if I could do something like that : random.next(1, 2, 3, 4, 5, 6)

If this call return 3, I could set the next call random.next(1, 2, 4, 5, 6) without the 3 which could return me anything excepted 3, etc...

Then I could finish to disordered my own List.

Thanks

wytes
  • 421
  • 7
  • 24

0 Answers0