code: def order_points_clockwise_list(pts):
      pts = pts.tolist()
      pts.sort(key=lambda x: (x[1], x[0]))
      pts[:2] = sorted(pts[:2], key=lambda x: x[0])
      pts[2:] = sorted(pts[2:], key=lambda x: -x[0])
      pts = np.array(pts)
      return pts
  
imports: import json
  import pathlib
  import time
  import os
  import glob
  import cv2
  import yaml
  from typing import Mapping
  import matplotlib.pyplot
  import numpy
  from argparse import ArgumentParser, RawDescriptionHelpFormatter
label_desc: Use image node_id 15 for calling a global function with example usage: order_points_clockwise_list(pts) and returns: pts