I have this hacky solution which should work but probably isn’t optimal:
Enum.sort_by(~w(A B a b), &{String.downcase(&1), &1})
I have this hacky solution which should work but probably isn’t optimal:
Enum.sort_by(~w(A B a b), &{String.downcase(&1), &1})