fixbug
Merge https://github.com/ccforward/KSortTable