Всем привет! есть массив данных типа
{"items":[{"id":14167,"src":"+79135593313","dst":"+79995840405","calldate":1487326257000,"billsec":2,"status":"ANSWER","direction":null,"issendme":false,"price":0,"currency":"RUB"},{"id":14171,"src":"+79135593313","dst":"+79995840405","calldate":1487326870000,"billsec":0,"status":"CANCEL","direction":null,"issendme":false,"price":0,"currency":"RUB"},{"id":14265,"src":"+79135593313","dst":"+79832942317","calldate":1487425709000,"billsec":3,"status":"ANSWER","direction":"in","issendme":false,"price":0.09,"currency":"RUB"},{"id":14266,"src":"+79135593313","dst":"+79832942317","calldate":1487425752000,"billsec":0,"status":"BUSY","direction":null,"issendme":false,"price":0,"currency":"RUB"}
Подскажите, как сделать группировку массива по dst и status, как реализовано в нативном приложении iOS