title: how to get order collection object in magento 2
body: <p>I'm beginner in magento2 and I'll try to retrieve all order related
          Information and that information just want to display on admin side
          like order's Id, order status , store name , order date , 
          payment method , etc.
          Here,I try to get order information like order id , order status but
          page will be redirect to home page / dashboard. </p>
  
  <p>I get product related information using product Collection object but how I get all order information.</p>
  
  <p>I don't know how to get order information using order collection
          object or order repository object and that order information display
          on admin side in magento2.</p>
  
  <p>Here is my view or <code>info.phtml</code> file is :</p>
  
  <pre><code>&lt;?php     $_order = $block-&gt;getOrder(3);
  $orderAdminDate = $block-&gt;formatDate(
  $block-&gt;getOrderAdminDate($_order-&gt;getCreatedAt()),
  \IntlDateFormatter::MEDIUM, true );
  echo 'Order Status = '.$_order-&gt;getStatusLabel();
  echo 'Order Id = '. $_order-&gt;getRealOrderId();    ?&gt;
  </code></pre>
  
  <p>And here is my <code>Info.php</code> block file is :</p>
  
  <pre><code>class Info extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder
  {
  public function __construct(
  \Magento\Backend\Block\Template\Context $context,
  \Magento\Sales\Model\Order\Address\Renderer $addressRenderer,
  array $data = []
  ) {    $this-&gt;addressRenderer = $addressRenderer;
  parent::__construct($context, $adminHelper, $data);
  }
  public function getOrder()
  {    return $this-&gt;_coreRegistry-&gt;registry('current_order');    }    }
  </code></pre>