用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
``sort`` ======== The ``sort`` filter sorts an array: .. code-block:: jinja {% for user in users|sort %} ... {% endfor %} .. note:: Internally, Twig uses the PHP `asort`_ function to maintain index association. It supports Traversable objects by transforming those to arrays. .. _`asort`: http://php.net/asort