Fix download sorting.