Created
April 2, 2020 09:26
-
-
Save Himstar8/934cb0ea54b59f6939ceddfd956268ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE FUNCTION array_sort (ANYARRAY) | |
RETURNS ANYARRAY LANGUAGE SQL | |
AS $$ | |
SELECT ARRAY(SELECT unnest($1) ORDER BY 1) | |
$$; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment