1. Go to this page and download the library: Download muffin/orderly library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
muffin / orderly example snippets
// By default orders by display field of table.
$this->addBehavior('Muffin/Orderly.Orderly');
// Default ordering using specified field.
$this->addBehavior('Muffin/Orderly.Orderly', ['order' => $this->aliasField('field_name')]);