diff --git a/scripts/ccpp_suite.py b/scripts/ccpp_suite.py index fc8cf1b6..ade2c234 100644 --- a/scripts/ccpp_suite.py +++ b/scripts/ccpp_suite.py @@ -1136,7 +1136,7 @@ def write_req_vars_sub(self, ofile, errmsg_name, errcode_name): ofile.write("\nsubroutine {}({})".format(API.__vars_fname, inargs), 1) # Declare use statements for suite varlist routines mlen = max([len(x.module) for x in self.suites]) - for suite in sorted(self.suites): + for suite in self.suites: mod = f"{suite.module}{' '*(mlen - len(suite.module))}" ofile.write(f"use {mod}, only: {suite.req_vars_subname()}", 2) # end for