diff --git a/src/AddSpouse.py b/src/AddSpouse.py
index a7de52e36..b7e6907fd 100644
--- a/src/AddSpouse.py
+++ b/src/AddSpouse.py
@@ -230,7 +230,7 @@ class AddSpouse:
self.entries = []
self.slist.clear()
self.slist.new_model()
- for key in self.db.getPersonKeys():
+ for key in self.db.sortPersonKeys():
data = self.db.getPersonDisplay(key)
if data[2] == sgender:
continue
diff --git a/src/ChooseParents.py b/src/ChooseParents.py
index 60f0ecac7..bd87963a0 100644
--- a/src/ChooseParents.py
+++ b/src/ChooseParents.py
@@ -161,7 +161,7 @@ class ChooseParents:
dday = self.person.getDeath().getDateObj()
person_list = []
- for key in self.db.getPersonKeys():
+ for key in self.db.sortPersonKeys():
if pkey == key:
continue
@@ -235,7 +235,7 @@ class ChooseParents:
dday = self.person.getDeath().getDateObj()
person_list = []
- for key in self.db.getPersonKeys():
+ for key in self.db.sortPersonKeys():
if pkey == key:
continue
diff --git a/src/SelectChild.py b/src/SelectChild.py
index 2a47e08a1..33a76dafe 100644
--- a/src/SelectChild.py
+++ b/src/SelectChild.py
@@ -140,7 +140,7 @@ class SelectChild:
slist[c.getId()] = 1
person_list = []
- for key in self.db.getPersonKeys():
+ for key in self.db.sortPersonKeys():
person = self.db.getPerson(key)
if filter:
if slist.has_key(key) or person.getMainParents():
diff --git a/src/SelectPerson.py b/src/SelectPerson.py
index 7eab45204..7763220b2 100644
--- a/src/SelectPerson.py
+++ b/src/SelectPerson.py
@@ -109,7 +109,7 @@ class SelectPerson:
self.umodel.clear()
self.umodel.new_model()
- for key in self.db.getPersonKeys():
+ for key in self.db.sortPersonKeys():
person = self.db.getPerson(key)
if self.use_filter and not self.filter(person):
continue
diff --git a/src/gramps.glade b/src/gramps.glade
index d57f202cd..1c109752a 100644
--- a/src/gramps.glade
+++ b/src/gramps.glade
@@ -4846,7 +4846,7 @@
GTK_WINDOW_TOPLEVEL
GTK_WIN_POS_NONE
True
- 450
+ 500
400
True
False