Guide me to use correct model for following

I need a model which can extract all important words from given sentence and then put them in correct order according to the context of statement.
e.g.
If the sentence says “List the benefits of drinking green tea”. I need the List, Benefits, Drinking green tea as important words.