Finetuning and sorting.