SteppedCheckout::compareActions PHP Method

compareActions() private method

Check if one step comes before or after the another
private compareActions ( $action1, $action2 )
    private function compareActions($action1, $action2)
    {
        return $this->actionPos($action1) - $this->actionPos($action2);
    }