diff --git a/sql/160_to_170.sql b/sql/160_to_170.sql
index 0e271b5cc5ebd190e43a97ca9aa008c127944a8c..46fbbd9bd593434e08b118481c9618aeafca5204 100644
--- a/sql/160_to_170.sql
+++ b/sql/160_to_170.sql
@@ -5,7 +5,7 @@
 --                                                                          --
 --                                                                          --
 -- *************************************************************************--
-CREATE FUNCTION order_alphanum(text) RETURNS text AS $$
+CREATE OR REPLACE FUNCTION order_alphanum(text) RETURNS text AS $$
   SELECT regexp_replace(regexp_replace(regexp_replace(regexp_replace($1,
     E'(^|\\D)(\\d{1,3}($|\\D))', E'\\1000\\2', 'g'),
       E'(^|\\D)(\\d{4,6}($|\\D))', E'\\1000\\2', 'g'),
@@ -98,8 +98,6 @@ WITH (
   OIDS=FALSE
 );
 
-
-
 DROP TABLE IF EXISTS seda;
 
 CREATE TABLE seda