SQLite Forum

Feature Request: consistent .dump order
Login
Of course it's possible. You could modify the .dump command code reading

```
  zSql = sqlite3_mprintf(
			 "SELECT name, type, sql FROM sqlite_master "
			 "WHERE (%s) AND type=='table'"
			 "  AND sql NOT NULL"
			 " ORDER BY tbl_name='sqlite_sequence', rowid",
			 zLike
			 );
```

to change the ORDER BY clause, rebuild, and have what you want.