code: def sort_vertex(points_x, points_y):
      # TODO Add typehints & docstring & test
      """Sort box vertices in clockwise order from left-top first.
  
      Args:
          points_x (list[float]): x of four vertices.
          points_y (list[float]): y of four vertices.
      Returns:
          sorted_points_x (list[float]): x of sorted four vertices.
          sorted_points_y (list[float]): y of sorted four vertices.
      """
      assert is_type_list(points_x, (float, int))
      assert is_type_list(points_y, (float, int))
      assert len(points_x) == 4
      assert len(points_y) == 4
      vertices = np.stack((points_x, points_y), axis=-1).astype(
          np.float32
      )
      vertices = _sort_vertex(vertices)
      sorted_points_x = list(vertices[:, 0])
      sorted_points_y = list(vertices[:, 1])
      return sorted_points_x, sorted_points_y
  
file_path: mmocr/mmocr/utils/bbox_utils.py
imports: from typing import List, Tuple
  import numpy
  from shapely.geometry import LineString, Point
  from mmocr.utils.check_argument import is_type_list
  from mmocr.utils.point_utils import point_distance, points_center
  from mmocr.utils.typing_utils import ArrayLike
label_desc: Use image node_id 7 for calling a global function with example usage: sort_vertex(points_x, points_y) and returns: sorted_points_x,  sorted_points_y