From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA28867 for caml-red; Wed, 29 Nov 2000 22:04:54 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA22942 for ; Wed, 29 Nov 2000 18:36:55 +0100 (MET) Received: from tor.abc.se (ns.abc.se [195.17.72.11]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id eATHas511339 for ; Wed, 29 Nov 2000 18:36:54 +0100 (MET) Received: from gateway (dialup-47 [195.17.73.47]) by tor.abc.se (8.9.3+Sun/8.9.3) with SMTP id SAA24756 for ; Wed, 29 Nov 2000 18:36:53 +0100 (MET) From: "Mattias Waldau" To: Subject: sorting of list of vectors (array with one dimension) Date: Wed, 29 Nov 2000 18:36:50 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <14874.12567.327395.839606@mistral.univ-bpclermont.fr> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: weis@pauillac.inria.fr I have a list of vectors, I would like to sort according to the first vector, and move the corresponding data in the other vectors. Is there a function for this (for example, a sort function, where I add a function that is called each time data is swapped) or do I have to write a quicksort in ocaml. /mattias