code: def _tilesort(t):
      # sort on offset
      return t[2]
  
imports: import io
  import struct
  import sys
  from .None import Image
  from ._util import isPath
label_desc: Use image node_id 2 for calling a global function with example usage: _tilesort(t) and returns: t