Type: String

By default, the widget 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.