fix sorting bug for sections