summaryrefslogtreecommitdiff
path: root/merge-sort.py
diff options
context:
space:
mode:
authorinternetlandlord <f.fredhenry@gmail.com>2022-11-03 21:25:36 +0000
committerinternetlandlord <f.fredhenry@gmail.com>2022-11-03 21:25:36 +0000
commit05272438359e6696e62c6363082d795d5c95219a (patch)
treec6f0d9833c400be86c195a060c26a6c7fa48bf3c /merge-sort.py
parent4abdc0d451d254cdfcff42eec1f3998afbf8fa49 (diff)
Adjusted more appending names, added reverse selection sort algorithm
Diffstat (limited to 'merge-sort.py')
-rwxr-xr-xmerge-sort.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/merge-sort.py b/merge-sort.py
index 2464e03..1653597 100755
--- a/merge-sort.py
+++ b/merge-sort.py
@@ -57,6 +57,6 @@ def mergeSort(data):
mergeSort(numdata)
# finishing up and appending "-mergesorted" to CSV
-target = target[:-4]+"-mergesorted"+target[-4:]
+target = target[:-4]+"-merge"+target[-4:]
print("Sorting done, writing to file!")
io.egressCSV(numdata,target)