Re: Newbie question sorting

From: Gunnar Hjalmarsson (noreply_at_gunnar.cc)
Date: 02/18/05


Date: Fri, 18 Feb 2005 20:37:17 +0100

mdfoster44@netscape.net wrote:
> Could someone please point me to some documentation on how to sort
> arrays such as these?
>
> a[0][0]= ANA a[0][1]= 1
> a[1][0]= MFI a[1][1]= 12
> a[2][0]= ABW a[2][1]= 1
> a[3][0]= LTL a[3][1]= 2
> a[4][0]= APD a[4][1]= 2

Which programming language are you dealing with? That does not look like
Perl code to me.

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl


Relevant Pages

  • Re: Loading Modules with "require"
    ... I sort of see who that works. ... Are you saying that to have the values ... here you are dealing with a single value. ... thing that deals with arrays, ...
    (comp.lang.perl.misc)
  • Re: Help with Array(s)
    ... I would think XML would return in something with an XML schema and you could ... Array.Sort sorts one-dimentional arrays, but don't think it will 2dim arrays ... to sort list by second int value and display. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: KBH Integer Sort
    ... limited to programming language integer ranges except when computational. ... Here is code that puts information about the a-array data into the c-array ... And that c-array code alone is the fundamental sort operation. ... matching memory structure to the data memory structure. ...
    (sci.math)
  • Re: Overcoming Transact-SQL ORDER BY limitations
    ... That's a good point, dealing with NULL's. ... that suggests not using this suggestion, ... a variation to examine the impact of dealing with NULL's. ... I could use a calculated field and sort on ...
    (microsoft.public.sqlserver.programming)
  • Re: does C# have any collection objects that support sort functionality so that I dont have to writ
    ... the IComparable interface. ... Also, since arrays are strongly typed, you know that all elements are of the ... for ArrayLists. ... The Sort() method will utilize each object's IComparable ...
    (microsoft.public.dotnet.languages.csharp)