Path: news.mathworks.com!not-for-mail
From: "kaori Joo" <rocio.joo@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: sorting problems
Date: Mon, 23 Feb 2009 22:30:19 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <gnv81r$t5q$1@fred.mathworks.com>
References: <gk5u0u$m34$1@fred.mathworks.com> <gk5upd$dvg$1@fred.mathworks.com> <gnch4t$b62$1@fred.mathworks.com> <gnchea$up$1@fred.mathworks.com>
Reply-To: "kaori Joo" <rocio.joo@gmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1235428219 29882 172.30.248.38 (23 Feb 2009 22:30:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 23 Feb 2009 22:30:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1662292
Xref: news.mathworks.com comp.soft-sys.matlab:520314


Hi, I give you 4 lines (with 11 columns each)

22	'''ALETA AZUL I, LOBOS DE AFUERA '	'''21/03/2007 21:00:0'	'''23/03/2007 02:00:0'	0,0833333333333333	3	1	'''22/03/2007 06:53:0'	'''22/03/2007 07:08:0'	0,0104166666666667	72
22	'''ALETA AZUL I, LOBOS DE AFUERA '	'''21/03/2007 21:00:0'	'''23/03/2007 02:00:0'	0,0833333333333333	3	2	'''22/03/2007 11:00:0'	'''22/03/2007 12:30:0'	0,0625000000000000	72
22	'''ALETA AZUL I, LOBOS DE AFUERA '	'''21/03/2007 21:00:0'	'''23/03/2007 02:00:0'	0,0416666666666667	3	3	'''22/03/2007 13:46:0'	'''22/03/2007 15:35:0'	0,0756944444444444	72
22	'''ALETA AZUL I, LOBOS DE AFUERA '	'''23/03/2007 03:30:0'	'''23/03/2007 15:05:0'	0,00694444444444444	2	1	'''23/03/2007 06:37:0'	'''23/03/2007 09:05:0'	0,102777777777778	70

Thanks!

"us " <us@neurol.unizh.ch> wrote in message <gnchea$up$1@fred.mathworks.com>...
> "kaori Joo"
> > I managed to sort alphabetically by the second column, but when I try to do so by dates (I first converted it using datenum), I get this error:
> > ??? Error using ==> char
> > Cell elements must be character arrays...
> 
> can you show a very small example of your data...
> us