title: Issue with printing when using sorted function on drawChessboardCorners
body: <p>I am having some issue while printing the output. I am getting below output</p>
  
  <pre><code>array([[336.34305, 214.00804]], dtype=float32)
  </code></pre>
  
  <p>instead of just</p>
  
  <pre><code>[[336.34305, 214.00804]]
  </code></pre>
  
  <p><strong>Code:</strong> </p>
  
  <pre><code>import cv2
  import numpy as np
  chess_img = cv2.imread('board.jpeg')
  kernel = np.ones((5,5), np.uint8)
  gray = cv2.cvtColor(chess_img,cv2.COLOR_BGR2GRAY)
  corners = []
  ret , corners = cv2.findChessboardCorners(gray,(7,7), None)
  if ret == False:
      print('Did not find')
  cv2.drawChessboardCorners(chess_img,(7,7),corners,ret)
  
  def sortFirst(val):
      return val[0][0]
  cornersort = corners
  print('Corners:')
  print(cornersort)
  cornersort = sorted(cornersort, key = sortFirst)
  print(cornersort)
  </code></pre>
  
  <p>When I wrote another code it worked fine:</p>
  
  <pre><code>import numpy as np
  
  arr = [[[2,3]],[[3,7]],[[5,1]]]
  def sortSecond(val):
      return val[0][1]
  arr = sorted(arr , key = sortSecond)
  print(arr)
  </code></pre>
  
  <p>The output of the first code is </p>
  
  <pre><code>[array([[336.34305, 214.00804]], dtype=float32), array([[337.23248,78.57056]], dtype=float32)]
  </code></pre>
  
  <p>The output of the second code is</p>
  
  <pre><code>[[[5, 1]], [[2, 3]], [[3, 7]]]
  </code></pre>
  
  <p>I want the output of the first code to be as the output as the second code. Please help!</p>