$criteria = new Criteria(); $criteria->addAscendingOrderByColumn('name');
$criteria = new Criteria(); $criteria->addDescendingOrderByColumn('created_at');The package library for Criteria addOrder in PHP is Propel - an open-source Object-Relational Mapping (ORM) for PHP. It provides a simple and effective way of working with databases in PHP and supports various database management systems including MySQL, PostgreSQL, and Microsoft SQL Server. Propel makes use of Criteria objects to build SQL queries dynamically, and the addOrder method is part of the Criteria class that is used for sorting the results.