I should have said monotonically increasing or decreasing. Since auc handles both case correctly. So I don't know why.