Click here to Skip to main content
15,894,122 members
Home / Discussions / C#
   

C#

 
QuestionSorting Pin
BobInNJ30-Jan-10 11:00
BobInNJ30-Jan-10 11:00 
AnswerRe: Sorting Pin
Luc Pattyn30-Jan-10 11:30
sitebuilderLuc Pattyn30-Jan-10 11:30 
GeneralRe: Sorting Pin
BobInNJ30-Jan-10 12:06
BobInNJ30-Jan-10 12:06 
GeneralRe: Sorting Pin
Luc Pattyn30-Jan-10 12:14
sitebuilderLuc Pattyn30-Jan-10 12:14 
GeneralRe: Sorting Pin
Gideon Engelberth30-Jan-10 19:15
Gideon Engelberth30-Jan-10 19:15 
GeneralRe: Sorting Pin
Luc Pattyn1-Feb-10 3:32
sitebuilderLuc Pattyn1-Feb-10 3:32 
GeneralRe: Sorting Pin
Gerry Schmitz30-Jan-10 14:43
mveGerry Schmitz30-Jan-10 14:43 
GeneralRe: Sorting [modified] Pin
PIEBALDconsult30-Jan-10 17:09
mvePIEBALDconsult30-Jan-10 17:09 
That reminds me. I did something similar here a few years ago. As I recall, it was in response to a "Friday Programming Quiz".

The file was rows (CSV) of CP members with member ID first. The task was to devise the smallest sort method.

1,...
10,...
100,...
2,...


etc.

My solution was to pipe the file through a program that left-padded the IDs to (perhaps) six places, then piped the output through SORT.

That sort (snicker) of technique may work for the OP as well.



Edit: Whoops, nope, different situation[^].

modified on Saturday, January 30, 2010 11:31 PM

GeneralRe: Sorting [modified] Pin
Gideon Engelberth30-Jan-10 19:18
Gideon Engelberth30-Jan-10 19:18 
GeneralRe: Sorting Pin
Luc Pattyn31-Jan-10 1:58
sitebuilderLuc Pattyn31-Jan-10 1:58 
GeneralRe: Sorting Pin
Gideon Engelberth31-Jan-10 6:46
Gideon Engelberth31-Jan-10 6:46 
GeneralRe: Sorting Pin
Luc Pattyn31-Jan-10 14:14
sitebuilderLuc Pattyn31-Jan-10 14:14 
GeneralRe: Sorting Pin
Garth J Lancaster31-Jan-10 0:29
professionalGarth J Lancaster31-Jan-10 0:29 
GeneralRe: Sorting Pin
BobInNJ31-Jan-10 6:27
BobInNJ31-Jan-10 6:27 
QuestionMonitoring Folder Access Pin
Yekoor30-Jan-10 8:48
Yekoor30-Jan-10 8:48 
AnswerRe: Monitoring Folder Access [modified] Pin
#realJSOP30-Jan-10 8:53
mve#realJSOP30-Jan-10 8:53 
AnswerRe: Monitoring Folder Access Pin
Gerry Schmitz30-Jan-10 14:53
mveGerry Schmitz30-Jan-10 14:53 
QuestionC# Group new properties Pin
jojoba201030-Jan-10 6:36
jojoba201030-Jan-10 6:36 
AnswerRe: C# Group new properties Pin
DaveyM6930-Jan-10 6:59
professionalDaveyM6930-Jan-10 6:59 
QuestionRe: C# Group new properties Pin
jojoba201030-Jan-10 7:15
jojoba201030-Jan-10 7:15 
AnswerRe: C# Group new properties Pin
Luc Pattyn30-Jan-10 7:39
sitebuilderLuc Pattyn30-Jan-10 7:39 
AnswerRe: C# Group new properties Pin
DaveyM6930-Jan-10 8:15
professionalDaveyM6930-Jan-10 8:15 
QuestionHTMLDocument Pin
Yulianto.30-Jan-10 6:02
Yulianto.30-Jan-10 6:02 
AnswerRe: HTMLDocument Pin
Luc Pattyn30-Jan-10 6:36
sitebuilderLuc Pattyn30-Jan-10 6:36 
GeneralRe: HTMLDocument Pin
Yulianto.30-Jan-10 17:09
Yulianto.30-Jan-10 17:09 

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.