diff --git a/sql/develop.sql b/sql/develop.sql
index 369fd00ad9a853188994a14ec1a81e3209bfcfd4..1812d705668d150d770cb6219f1b96add0e24e71 100644
--- a/sql/develop.sql
+++ b/sql/develop.sql
@@ -53,18 +53,18 @@ DROP TABLE IF EXISTS docserver_locations;
 UPDATE docservers set is_readonly = 'Y' WHERE docserver_id = 'FASTHD_AI';
 
 /* Refactoring */
-DROP TABLE IF EXISTS allowed_ip;
-DROP TABLE IF EXISTS af_security;
-DROP TABLE IF EXISTS af_view_customer_target;
-DROP TABLE IF EXISTS af_view_year_target;
 DROP VIEW IF EXISTS af_view_customer_target_view;
 DROP VIEW IF EXISTS af_view_customer_view;
 DROP VIEW IF EXISTS af_view_year_target_view;
 DROP VIEW IF EXISTS af_view_year_view;
+DROP TABLE IF EXISTS allowed_ip;
+DROP TABLE IF EXISTS af_security;
+DROP TABLE IF EXISTS af_view_customer_target;
+DROP TABLE IF EXISTS af_view_year_target;
+DROP VIEW IF EXISTS res_view;
 DROP TABLE IF EXISTS res_x;
 DROP TABLE IF EXISTS res_version_x;
 DROP TABLE IF EXISTS adr_x;
-DROP VIEW IF EXISTS res_view;