From 369c06117d6f6cab6cca3bc50848990e32bb0e7c Mon Sep 17 00:00:00 2001 From: Jeff Pittman Date: Fri, 13 Jul 2012 14:11:33 -0500 Subject: [PATCH] Added sorting for list items. --- examples/widgets/list_master_detail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/widgets/list_master_detail.py b/examples/widgets/list_master_detail.py index e3374b513..fb2e3a6f3 100644 --- a/examples/widgets/list_master_detail.py +++ b/examples/widgets/list_master_detail.py @@ -217,6 +217,6 @@ if __name__ == '__main__': from kivy.base import runTouchApp - master_detail = MasterDetailView(fruit_data.keys(), width=800) + master_detail = MasterDetailView(sorted(fruit_data.keys()), width=800) runTouchApp(master_detail)