Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Sundown/swsort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Short program to sort strings (stdin) by weight (sum of chars in string).

How it works:

$ wsort XYZ abc ABCD ... 123

... 	[46 46 46]	->	138
123 	[49 50 51]	->	150
ABCD 	[65 66 67 68]	->	266
XYZ 	[88 89 90]	->	267
abc 	[97 98 99]	->	294

About

🐠 Sort strings based on char sum.

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •