Use inverse frequency for sort order