avoid bug in sample sort with one proc