diff --git a/learnware/market/easy/database_ops.py b/learnware/market/easy/database_ops.py index 0084b79..01bb48d 100644 --- a/learnware/market/easy/database_ops.py +++ b/learnware/market/easy/database_ops.py @@ -163,7 +163,9 @@ class DatabaseOperations(object): def load_market(self): with self.engine.connect() as conn: - cursor = conn.execute(text("SELECT id, semantic_spec, zip_path, folder_path, use_flag FROM tb_learnware;")) + cursor = conn.execute( + text("SELECT id, semantic_spec, zip_path, folder_path, use_flag FROM tb_learnware ORDER BY id DESC;") + ) learnware_list = {} zip_list = {}