nodes: 0, module; 1, function_definition; 2, function_name:getOverlaySortOrder; 3, parameters; 4, block; 5, identifier:self; 6, identifier:ulOverlayHandle; 7, expression_statement; 8, expression_statement; 9, expression_statement; 10, expression_statement; 11, return_statement; 12, comment:"""Gets the sort order of the overlay. See SetOverlaySortOrder for how this works."""; 13, assignment; 14, assignment; 15, assignment; 16, expression_list; 17, identifier:fn; 18, attribute; 19, identifier:punSortOrder; 20, call; 21, identifier:result; 22, call; 23, identifier:result; 24, attribute; 25, attribute; 26, identifier:getOverlaySortOrder; 27, identifier:c_uint32; 28, argument_list; 29, identifier:fn; 30, argument_list; 31, identifier:punSortOrder; 32, identifier:value; 33, identifier:self; 34, identifier:function_table; 35, identifier:ulOverlayHandle; 36, call; 37, identifier:byref; 38, argument_list; 39, identifier:punSortOrder
code: def getOverlaySortOrder(self, ulOverlayHandle):
          """Gets the sort order of the overlay. See SetOverlaySortOrder for how this works."""
  
          fn = self.function_table.getOverlaySortOrder
          punSortOrder = c_uint32()
          result = fn(ulOverlayHandle, byref(punSortOrder))
          return result, punSortOrder.value