/**
  * reg_step_sorting_callback
  *
  * @access public
  * @param EE_SPCO_Reg_Step $reg_step_A
  * @param EE_SPCO_Reg_Step $reg_step_B
  * @return array()
  */
 public function reg_step_sorting_callback(EE_SPCO_Reg_Step $reg_step_A, EE_SPCO_Reg_Step $reg_step_B)
 {
     // send finalize_registration step to the end of the array
     if ($reg_step_A->slug() == 'finalize_registration') {
         return 1;
     } else {
         if ($reg_step_B->slug() == 'finalize_registration') {
             return -1;
         }
     }
     if ($reg_step_A->order() == $reg_step_B->order()) {
         return 0;
     }
     return $reg_step_A->order() > $reg_step_B->order() ? 1 : -1;
 }