nodes: 0, module; 1, function_definition; 2, function_name:blt; 3, parameters; 4, type; 5, block; 6, typed_parameter; 7, typed_parameter; 8, generic_type; 9, expression_statement; 10, expression_statement; 11, expression_statement; 12, return_statement; 13, identifier:f; 14, type; 15, identifier:x; 16, type; 17, identifier:Dict; 18, type_parameter; 19, comment:"""
      Sort equations by dependence
      """; 20, assignment; 21, assignment; 22, dictionary; 23, generic_type; 24, generic_type; 25, type; 26, type; 27, identifier:J; 28, call; 29, pattern_list; 30, call; 31, pair; 32, pair; 33, pair; 34, pair; 35, pair; 36, pair; 37, pair; 38, pair; 39, identifier:List; 40, type_parameter; 41, identifier:List; 42, type_parameter; 43, identifier:str; 44, identifier:Any; 45, attribute; 46, argument_list; 47, identifier:nblock; 48, identifier:rowperm; 49, identifier:colperm; 50, identifier:rowblock; 51, identifier:colblock; 52, identifier:coarserow; 53, identifier:coarsecol; 54, attribute; 55, argument_list; 56, string; 57, identifier:J; 58, string; 59, identifier:nblock; 60, string; 61, identifier:rowperm; 62, string; 63, identifier:colperm; 64, string; 65, identifier:rowblock; 66, string; 67, identifier:colblock; 68, string; 69, identifier:coarserow; 70, string; 71, identifier:coarsecol; 72, type; 73, type; 74, identifier:ca; 75, identifier:jacobian; 76, identifier:f; 77, identifier:x; 78, call; 79, identifier:btf; 80, string_content:J; 81, string_content:nblock; 82, string_content:rowperm; 83, string_content:colperm; 84, string_content:rowblock; 85, string_content:colblock; 86, string_content:coarserow; 87, string_content:coarsecol; 88, identifier:SYM; 89, identifier:SYM; 90, attribute; 91, argument_list; 92, identifier:J; 93, identifier:sparsity
code: def blt(f: List[SYM], x: List[SYM]) -> Dict[str, Any]:
      """
      Sort equations by dependence
      """
      J = ca.jacobian(f, x)
      nblock, rowperm, colperm, rowblock, colblock, coarserow, coarsecol = J.sparsity().btf()
      return {
          'J': J,
          'nblock': nblock,
          'rowperm': rowperm,
          'colperm': colperm,
          'rowblock': rowblock,
          'colblock': colblock,
          'coarserow': coarserow,
          'coarsecol': coarsecol
      }