Create ps_memory_sort.sh