added frequency sorted result list