Don't random sort if no sample specified.