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. |
||
|---|---|---|
| .. | ||
| helpers | ||
| import | ||
| member/validations | ||
| member_export | ||
| custom_field_lookup.ex | ||
| custom_field_sort.ex | ||
| custom_field_value_formatter.ex | ||
| member_export.ex | ||
| member_export_sort.ex | ||
| members_csv.ex | ||
| members_pdf.ex | ||