In the sentence "It sort of died out after a while," the phrase "sort of" means "to some extent" or "approximately." It's used to indicate that the statement is not precise or exact. So, "sort of died out" suggests that whatever "died out" didn't do so completely or in a clear-cut manner, but rather in a somewhat gradual or partial way.