Al-afḍali with kasrah is correct.

Ism al-Tafḍīl: Formation, Comparison, Agreement and Parsing