给你一段英文文本，让你将其中的名词和动词提取出来并按照出现频率依次排序。

This is a sample sentence. It contains some nouns and verbs. Can you extract them?
Nouns: sentence, nouns, verbs  
Verbs: contains, extract  

Frequency of nouns:  
nouns - 1  
sentence - 1  
verbs - 1  

Frequency of verbs:  
contains - 1  
extract - 1