Aint in a thinking mood, been thinking all day.
Say I have a Dictionairy<char, int> values, and each letter has an amount of points you score for each occurrence in a string
A=1,B=2,C=3,D=4,E=5,F=6,G=7,H=8,I=9,J=10,K=11,L=12,M=13,N=14,O=15,P=16,Q=17,R=18,S=19,T=20,U=21,V=22,W=23,X=24,Y=25,Z=26
Imagine that being loaded into a the dictionary pretty much. The word OSBot would give 15 + 19 + 2 + 15 + 20 = 71 points
So now I have a list of words, the words are completely random but they are real words.
I want to sort this list by the amount of points I would obtain per word.
The amount of points per letter arent always alphabetical, so A could be 30 points and Z could be 29 points, its random.
If anyone knows of a good way to do this, or needs a better explanation, let me know. LINQ stuff is preferred.
Edit: I'm onto something literally 1 minute after posting this thread.
Calculate the points per word, then add it to a dictionary Word, Points, then sort that dictionary by the amount of points.
Just delete this shit I was too tired for my own good