<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18975"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN class=799083313-17112010>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: EN-GB"
lang=EN-GB>Dear all,</SPAN><SPAN style="mso-ansi-language: EN-GB"
lang=EN-GB><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
style="mso-ansi-language: EN-GB" lang=EN-GB><FONT size=3><FONT
face="Times New Roman"> <o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: EN-GB"
lang=EN-GB>Sort algorithms are rather new for me ...</SPAN><SPAN
style="mso-ansi-language: EN-GB" lang=EN-GB><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
style="mso-ansi-language: EN-GB" lang=EN-GB><FONT size=3><FONT
face="Times New Roman"> <o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: EN-GB"
lang=EN-GB>In the example herebellow and after some tests, I’ve noticed that the
matrix is sorted from the 1rst column :</SPAN><SPAN
style="mso-ansi-language: EN-GB" lang=EN-GB><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: EN-GB"
lang=EN-GB>- is it possible to choose the column to sort ?</SPAN><SPAN
style="mso-ansi-language: EN-GB" lang=EN-GB><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: EN-GB"
lang=EN-GB>- otherwise does it mean it's necessary to permute the desired column
with the first one to sort ?</SPAN><SPAN style="mso-ansi-language: EN-GB"
lang=EN-GB><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
style="mso-ansi-language: EN-GB" lang=EN-GB><FONT size=3><FONT
face="Times New Roman"> <o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Thanks in
advance</SPAN><o:p></o:p></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT
face="Times New Roman"> <o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Cheers</SPAN><o:p></o:p></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT size=3><FONT
face="Times New Roman"> <o:p></o:p></FONT></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Paul</SPAN><o:p></o:p></P></SPAN></FONT><FONT
size=2 face=Arial><SPAN class=799083313-17112010></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=799083313-17112010></SPAN></FONT> </DIV>
<DIV><SPAN class=799083313-17112010></SPAN><FONT size=2 face=Arial><SPAN
class=799083313-17112010>########</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>mode(0); <BR>clearglobal();</FONT></DIV>
<DIV> </DIV>
<DIV><BR><FONT size=2 face=Arial>D = [ </FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=799083313-17112010> </SPAN>1 0 3 11 10
13;</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=799083313-17112010> </SPAN> 4 9 6 -1 -1 0;
</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2> 17 8 39 9 -451 3;
</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2> 10 110 -12 1 -9 45 ;
</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2> -13 514 15 78 -99
3]</FONT></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><BR><FONT size=2 face=Arial>D_lr =
gsort(D,'lr','i')</FONT></DIV></BODY></HTML>
<pre>--------------------------------------------------------------------------------
Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.