if (options.getSortBy().equals(Person.Field.NAME.toString())) { Collections.sort(result, NAME_COMPARATOR);
if (options.getSortBy().equals(Person.Field.NAME.toString())) { Collections.sort(result, NAME_COMPARATOR);
if (options.getSortBy().equals(Person.Field.NAME.toString())) { Collections.sort(result, NAME_COMPARATOR);
params.put("sortBy", new String[]{options.getSortBy()}); params.put("sortOrder", new String[]{options.getSortOrder().toString()}); params.put("filterBy", new String[]{options.getFilter()});
params.put("sortBy", new String[]{options.getSortBy()}); params.put("sortOrder", new String[]{options.getSortOrder().toString()}); params.put("filterBy", new String[]{options.getFilter()});
params.put("sortBy", new String[]{options.getSortBy()}); params.put("sortOrder", new String[]{options.getSortOrder().toString()}); params.put("filterBy", new String[]{options.getFilter()});