Click here to Skip to main content
15,125,854 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Difficult to sort : SOLVED!! Pin
newton.saber12-Feb-15 4:14
Membernewton.saber12-Feb-15 4:14 
GeneralRe: Difficult to sort : SOLVED!! Pin
PhilLenoir12-Feb-15 4:15
professionalPhilLenoir12-Feb-15 4:15 
GeneralRe: Difficult to sort Pin
BillWoodruff12-Feb-15 4:42
mveBillWoodruff12-Feb-15 4:42 
GeneralRe: Difficult to sort Pin
Amarnath S12-Feb-15 4:46
professionalAmarnath S12-Feb-15 4:46 
GeneralRe: Difficult to sort Pin
BillWoodruff12-Feb-15 5:01
mveBillWoodruff12-Feb-15 5:01 
GeneralRe: Difficult to sort Pin
#realJSOP12-Feb-15 5:29
mva#realJSOP12-Feb-15 5:29 
GeneralRe: Difficult to sort Pin
Kenneth Haugland12-Feb-15 7:30
professionalKenneth Haugland12-Feb-15 7:30 
AnswerRe: Difficult to sort Pin
Mario Majčica12-Feb-15 5:07
professionalMario Majčica12-Feb-15 5:07 
And how about implementing IComparer and using that custom comparer?

Then your compare implementation will need to 'translate' words to ints and then just compare the ints?!?!?

Sounds plausible?

Check this:

http://stackoverflow.com/questions/11278081/convert-words-string-to-int[^]

and

[^]

Cheers
“The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser men so full of doubts.”

GeneralRe: Difficult to sort Pin
#realJSOP12-Feb-15 5:22
mva#realJSOP12-Feb-15 5:22 
JokeRe: Difficult to sort Pin
Bergholt Stuttley Johnson12-Feb-15 5:54
professionalBergholt Stuttley Johnson12-Feb-15 5:54 
GeneralRe: Difficult to sort Pin
#realJSOP12-Feb-15 6:44
mva#realJSOP12-Feb-15 6:44 
GeneralRe: Difficult to sort Pin
Bergholt Stuttley Johnson12-Feb-15 22:06
professionalBergholt Stuttley Johnson12-Feb-15 22:06 
GeneralRe: Difficult to sort Pin
BillWoodruff12-Feb-15 23:55
mveBillWoodruff12-Feb-15 23:55 
GeneralRe: Difficult to sort - REAL SOLUTION Pin
#realJSOP12-Feb-15 10:25
mva#realJSOP12-Feb-15 10:25 
GeneralMQOTD Pin
V.11-Feb-15 22:36
professionalV.11-Feb-15 22:36 
GeneralRe: MQOTD Pin
Mendor8111-Feb-15 22:37
professionalMendor8111-Feb-15 22:37 
GeneralRe: MQOTD Pin
HobbyProggy11-Feb-15 22:41
professionalHobbyProggy11-Feb-15 22:41 
GeneralRe: MQOTD Pin
User 1013254611-Feb-15 22:48
MemberUser 1013254611-Feb-15 22:48 
GeneralRe: MQOTD Pin
Kenneth Haugland11-Feb-15 23:04
professionalKenneth Haugland11-Feb-15 23:04 
GeneralRe: MQOTD Pin
V.11-Feb-15 23:16
professionalV.11-Feb-15 23:16 
GeneralRe: MQOTD Pin
Kenneth Haugland11-Feb-15 23:24
professionalKenneth Haugland11-Feb-15 23:24 
GeneralRe: MQOTD Pin
Nagy Vilmos11-Feb-15 23:12
professionalNagy Vilmos11-Feb-15 23:12 
GeneralOT: CCC Pin
Agent__00711-Feb-15 23:50
professionalAgent__00711-Feb-15 23:50 
GeneralRe: OT: CCC Pin
Nagy Vilmos11-Feb-15 23:57
professionalNagy Vilmos11-Feb-15 23:57 
GeneralRe: MQOTD Pin
chriselst11-Feb-15 23:19
professionalchriselst11-Feb-15 23:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.