Added random order select support.