{% if content is defined and content is not empty and content|length > 0 %} <div class="mb-1em"> {% if title is defined and title is not empty and title|length > 0 %} <div class="fw600">{{title|raw}}</div> {% endif %} <ul class="experience-ul"> {% set sortedValues = content|sort %} {% for item in sortedValues %} <li>{{item}}</li> {% endfor %} </ul> </div>{% endif %}