Type: String

By default, the contact picker will sort displayed contacts by their last name. It also groups contacts in letters using the first letter of the last name. You may change this to use the first name instead with the sortBy option.

For example:

cloudsponge.init({
  sortBy: 'first'
});

This will override the option and use the first name to sorting contacts.

Try CloudSponge for free in your
testing environment

Get a Free Sandbox Account

Have a questions or prefer a guided tour?
Schedule a consultation with our Founder.