public function get_feeds($form_id = null) { $feeds = parent::get_feeds($form_id); $ordered_ids = get_option('gravityflow_feed_order_' . $form_id); if ($ordered_ids) { $feeds = array_reverse($feeds); } if (!empty($ordered_ids)) { $this->step_order = $ordered_ids; usort($feeds, array($this, 'sort_feeds')); } return $feeds; }