  awk -F'\x27' -v n="$s" -v pg="${page/ALL/ }" '{ p=substr(pg,1,1); if ((p~/7|8|9/) && ($6~"^(19"p((p==9)?"|200)":")")) || $(NF-1)~pg ) str=$6"_"$1","str; } END{ system("printf " str " | tr \",\" \"\\n\" | sort | cut -d_ -f2")}' "$list_path" > "$DIR/sorted_list"
