Reorganize and sequence sql files