alexrothenberg/motion-addressbook — pull request #47 by madewulf (2013-09-25 11:25:40+00:00)
Title: Sorting the address book using Apple's recommended method

Hello,

the current sorting method for the contacts is quite slow currently. It takes 6 seconds for approximatively 1000 contacts on my iPhone 5.

I guess the problem is the creation of one string per user but I did not investigate fully on this side.

I send you this pull request that uses the function provided by Apple to compare contacts. The speed of the sort after this modification went from 6s to 0,06s on my iPhone 5.

I hope that you will like it.

Martin