If there isn't a consistent field or way to identify the country then you wouldn't be able to sort by it consistently. Is there an activity type or something of that nature that would allow you to identify if it is a country or not? It might not be possible given your description.