[Year 12 SofDev] sorting in VB.net

Mark KELLY kel at mckinnonsc.vic.edu.au
Thu Mar 15 14:57:47 EST 2012


You could cheat and just use a sorted listbox  :-)

Actually, I was not aware that VB had inbuilt array sorting functions. I'll
have to investigate that!

On 15 March 2012 13:48, PIKE Philip <PIKEP at bmg.vic.edu.au> wrote:

> Hi all, we are not up to sorting yet, but I have an exercise which
> requires the student to sort an array. I have tried array.sort(arrayname)
>  and system.array.sort(arrayname), but both set all the values in the array
> to 0.****
>
> We are using vb.net 2010 express edition.****
>
> Any help would be much appreciated.****
>
> Thanks****
>
> ** **
>
> Philip Pike****
>
> Director of ICT****
>
> Bacchus Marsh Grammar****
>
> Sth Maddingley Rd****
>
> Bacchus Marsh 3340****
>
> Ph 5366 4893****
>
> Fax 5366 4850****
>
> Email: pikep at bmg.vic.edu.au****
>
> __
>
-- 
Mark Kelly
Manager of ICT, Reporting, IT Learning Area
McKinnon Secondary College
McKinnon Rd McKinnon 3204, Victoria, Australia
Direct line / Voicemail: +613 8520 9085, Fax +613 9578 9253
kel at mckinnonsc.vic.edu.au
VCE IT Lecture Notes: http://vceit.com
Moderator: IT Applications Edulist <http://www.edulists.com.au/>

--
Grammar for the 21st century...
Infinitive: I sync my phone.
Past tense: I sanc my phone.
Past participle: I have sunc my phone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20120315/8c5a7330/attachment.html 


More information about the sofdev mailing list