<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264351</link>
    <title>MATLAB Central Newsreader - sorting of array of object</title>
    <description>Feed for thread: sorting of array of object</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 28 Oct 2009 17:53:03 -0400</pubDate>
      <title>sorting of array of object</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264351#690385</link>
      <author>Syed </author>
      <description>Hi!&lt;br&gt;
&lt;br&gt;
Anybody can give me any hint to sort an array of objects. I have array of boxes and every box has its numeric label. The array is containing different object of box class. I want to sort array according to label of box. &lt;br&gt;
&lt;br&gt;
Thanks in advance. &lt;br&gt;
/Hasan</description>
    </item>
    <item>
      <pubDate>Wed, 04 Nov 2009 00:14:04 -0500</pubDate>
      <title>Re: sorting of array of object</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/264351#691884</link>
      <author>ade77 </author>
      <description>can you expand on your problem, the labels on the box are they regular string expression? so you want to sort based on the string expression.&lt;br&gt;
For example, if box1 = 'peter' ;    box2 = 'james' ;   box 3 = 'john', then if you sort you will have&lt;br&gt;
[box2  box3  box1]. is that what you mean?&lt;br&gt;
&lt;br&gt;
&quot;Syed &quot; &amp;lt;cancer216@hotmail.com&amp;gt; wrote in message &amp;lt;hca0dv$pkr$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Anybody can give me any hint to sort an array of objects. I have array of boxes and every box has its numeric label. The array is containing different object of box class. I want to sort array according to label of box. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks in advance. &lt;br&gt;
&amp;gt; /Hasan</description>
    </item>
  </channel>
</rss>

