diff options
| -rw-r--r-- | library/WT/Controller/Branches.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/WT/Controller/Branches.php b/library/WT/Controller/Branches.php index 1a44ed115e..636a26d2d8 100644 --- a/library/WT/Controller/Branches.php +++ b/library/WT/Controller/Branches.php @@ -177,6 +177,7 @@ class WT_Controller_Branches extends WT_Controller_Page { // spouses and children $spouse_families = $individual->getSpouseFamilies(); if ($spouse_families) { + usort($spouse_families, array('WT_Family', 'CompareMarrDate')); $fam_html = ''; foreach ($spouse_families as $family) { $fam_html .= $indi_html; // Repeat the individual details for each spouse. |
