Added intlistsort and intlistremoveduplicates external functions.