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);
    }