When it comes to data management, real power has more to do with precision of access than just about anything else. We need to be able to find specific records or groups of records, modify them, and iterate them. In the BetterBirthdays example, we tackle these issues. We don't introduce a lot of new APIs for these jobs. Rather, we mostly use the ones you've already seen in slightly different ways.
The BetterBirthdays Example Running on an H/PC:
Using Sort Orders
We refine our use of the database functionality in the BetterBirthdays program. The first and most noticeable change is that this time the Birthdays database that has a sorted field name field. We specify this attribute at the time the database is created, and we create the database in BirthdayDlgProc() in response to the WM_INITDIALOG message.
The article continues at