Sort the list based on the given criteria.
Input: List: Green apples, oranges, lemons
Criteria: Sweetness
Lemons, Oranges, Green Apples (in order of sweetness)
Lemons, Oranges, Green Apples (in order of sweetness).