patch 7.4.1397
Problem:    Sort test fails on MS-Windows.
Solution:   Correct the compare function.
diff --git a/src/testdir/test_sort.vim b/src/testdir/test_sort.vim
index 68021f6..2b097ce 100644
--- a/src/testdir/test_sort.vim
+++ b/src/testdir/test_sort.vim
@@ -2,11 +2,11 @@
 
 :func Compare1(a, b) abort
     call sort(range(3), 'Compare2')
-    return a:a ># a:b
+    return a:a - a:b
 :endfunc
 
 :func Compare2(a, b) abort
-    return a:a <# a:b
+    return a:a - a:b
 :endfunc
 
 func Test_sort_strings()
diff --git a/src/version.c b/src/version.c
index a476aae..b8cd111 100644
--- a/src/version.c
+++ b/src/version.c
@@ -749,6 +749,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1397,
+/**/
     1396,
 /**/
     1395,