nodes: 0, module; 1, function_definition; 2, function_name:dflt_sortby_ntgoea; 3, parameters; 4, block; 5, identifier:ntgoea; 6, expression_statement; 7, return_statement; 8, comment:"""Default sorting of GOEA results stored in namedtuples."""; 9, list; 10, attribute; 11, attribute; 12, attribute; 13, attribute; 14, attribute; 15, identifier:ntgoea; 16, identifier:enrichment; 17, identifier:ntgoea; 18, identifier:namespace; 19, identifier:ntgoea; 20, identifier:p_uncorrected; 21, identifier:ntgoea; 22, identifier:depth; 23, identifier:ntgoea; 24, identifier:GO
code: def dflt_sortby_ntgoea(ntgoea):
          """Default sorting of GOEA results stored in namedtuples."""
          return [ntgoea.enrichment,
                  ntgoea.namespace,
                  ntgoea.p_uncorrected,
                  ntgoea.depth,
                  ntgoea.GO]