src/Neutrino/Database/Migrations/Storage/FileStorage.php
public function getMigrations($steps)
    {
        $data = $this->getData();

        $data = array_filter($data, function ($datum) {
            return (int)$datum['batch'] >= 1;
        });

        array_multisort(
            array_column($data, 'batch'), SORT_DESC,
            array_column($data, 'migration'), SORT_DESC,
            $data
        );

        return array_slice($data, 0, $steps);
    }
public function getMigrations($steps)
    {
        $data = $this->getData();

        $data = array_filter($data, function ($datum) {
            return (int)$datum['batch'] >= 1;
        });

        array_multisort(
            array_column($data, 'batch'), SORT_DESC,
            array_column($data, 'migration'), SORT_DESC,
            $data
        );

        return array_slice($data, 0, $steps);
    }
Get list of migrations.

@param  int $steps

@return array