Sorting on batch list