{
return DatabaseLocator.getDatabase();
}
public Iterator<Contact> iterator(int first, int count)
{
<BUG>SortParam sp = getSort();
return getContactsDB().find(first, count, sp.getProperty(), sp.isAscending()).iterator();
</BUG>
}
public int size()

{
public SortableContactDataProvider()
{
setSort("firstName", SortOrder.ASCENDING);
}
protected ContactsDatabase getContactsDB()
{
return DatabaseLocator.getDatabase();
}
public Iterator<Contact> iterator(int first, int count)
{
return getContactsDB().find(first, count, getSort()).iterator();
}
public int size()
