Can I make SQL statements like this?
    SELECT     
        ARRAY[array]
    FROM   table1
    ORDER BY 
       FOR i in array_length(array,1) LOOP 
                array[i]::numeric
            END LOOP; 
The result I want is:
SELECT     
   ARRAY[array]
FROM   table1
ORDER BY array[1]::numeric, array[2]::numeric, ...
Can I? :)
 
    