Custom :date values are real Date structs; sorting them by Erlang term order compares day, then month, then year, so the member list ordered them like day-first text instead of chronologically. Derive the sort key from a single shared helper that maps a date to its Gregorian day count, leaving the other value types at their already-correct natural order. |
||
|---|---|---|
| .. | ||
| accounts | ||
| fixtures | ||
| membership | ||
| membership_fees | ||
| mv | ||
| mv_web | ||
| support | ||
| seeds_test.exs | ||
| test_helper.exs | ||