fixed sample list warning for sorting