nodes: 0, module; 1, function_definition; 2, function_name:dflt_sortby_objgoea; 3, parameters; 4, block; 5, identifier:goea_res; 6, expression_statement; 7, return_statement; 8, comment:"""Default sorting of GOEA results."""; 9, list; 10, call; 11, call; 12, call; 13, call; 14, call; 15, identifier:getattr; 16, argument_list; 17, identifier:getattr; 18, argument_list; 19, identifier:getattr; 20, argument_list; 21, identifier:getattr; 22, argument_list; 23, identifier:getattr; 24, argument_list; 25, identifier:goea_res; 26, string; 27, identifier:goea_res; 28, string; 29, identifier:goea_res; 30, string; 31, identifier:goea_res; 32, string; 33, identifier:goea_res; 34, string; 35, string_content:enrichment; 36, string_content:namespace; 37, string_content:p_uncorrected; 38, string_content:depth; 39, string_content:GO
code: def dflt_sortby_objgoea(goea_res):
          """Default sorting of GOEA results."""
          return [getattr(goea_res, 'enrichment'),
                  getattr(goea_res, 'namespace'),
                  getattr(goea_res, 'p_uncorrected'),
                  getattr(goea_res, 'depth'),
                  getattr(goea_res, 'GO')]