<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: alphabetical/numerical sorting&#8230;</title>
		<atom:link href="http://cycling74.com/forums/topic/alphabeticalnumerical-sorting/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/alphabeticalnumerical-sorting/feed</link>
		<description></description>
		<pubDate>Mon, 17 Jun 2013 23:52:54 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/alphabeticalnumerical-sorting/#post-32244</guid>
					<title><![CDATA[alphabetical/numerical sorting&#8230;]]></title>
					<link>http://cycling74.com/forums/topic/alphabeticalnumerical-sorting/#post-32244</link>
					<pubDate>Sun, 03 Jun 2007 00:42:36 +0000</pubDate>
					<dc:creator>MIB</dc:creator>

					<description>
						<![CDATA[
						<p>This is probably very basic, and I do appologize, but I am not sure how to handle this.<br />
I have a coll with a bunch of (in this case) pictures in it and would like to arrange them numerically from Pic0.jpeg to Pic33.jpeg. &#8220;sort -1 1&#8243; doesn&#8217;t do what I want it to. What am I missing???<br />
The pics are nicely order in my folder on my desktop but as soon as I read it with the &#8220;folder&#8221; object, things get scrambled&#8230;<br />
Any ideas???</p>
<p>Thanks a bunch.</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P message 266 434 33 196617 clear;<br />
#P message 364 413 53 196617 renumber;<br />
#P message 328 434 52 196617 sort -1 0;<br />
#N coll ;<br />
#T flags 1 0;<br />
#T 0 Pic0.jpg;<br />
#T 1 Pic1.jpg;<br />
#T 2 Pic10.jpg;<br />
#T 3 Pic11.jpg;<br />
#T 4 Pic12.jpg;<br />
#T 5 Pic13.jpg;<br />
#T 6 Pic14.jpg;<br />
#T 7 Pic15.jpg;<br />
#T 8 Pic16.jpg;<br />
#T 9 Pic17.jpg;<br />
#T 10 Pic18.jpg;<br />
#T 11 Pic19.jpg;<br />
#T 12 Pic2.jpg;<br />
#T 13 Pic20.jpg;<br />
#T 14 Pic21.jpg;<br />
#T 15 Pic22.jpg;<br />
#T 16 Pic23.jpg;<br />
#T 17 Pic24.jpg;<br />
#T 18 Pic25.jpg;<br />
#T 19 Pic26.jpg;<br />
#T 20 Pic27.jpg;<br />
#T 21 Pic28.jpg;<br />
#T 22 Pic29.jpg;<br />
#T 23 Pic3.jpg;<br />
#T 24 Pic30.jpg;<br />
#T 25 Pic31.jpg;<br />
#T 26 Pic32.jpg;<br />
#T 27 Pic33.jpg;<br />
#T 28 Pic4.jpg;<br />
#T 29 Pic5.jpg;<br />
#T 30 Pic6.jpg;<br />
#T 31 Pic7.jpg;<br />
#T 32 Pic8.jpg;<br />
#T 33 Pic9.jpg;<br />
#T 34 Pic9.jpg;<br />
#P newobj 328 462 53 196617 coll;<br />
#P newex 379 344 27 196617 t i i;<br />
#P newex 305 401 47 196617 pack 0 s;<br />
#P newex 238 205 40 196617 t b b i;<br />
#P number 238 185 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P button 192 79 15 0;<br />
#P user umenu 192 259 140 196647 1 2000 275 1;<br />
#X add Pic0.jpg;<br />
#X add Pic1.jpg;<br />
#X add Pic10.jpg;<br />
#X add Pic11.jpg;<br />
#X add Pic12.jpg;<br />
#X add Pic13.jpg;<br />
#X add Pic14.jpg;<br />
#X add Pic15.jpg;<br />
#X add Pic16.jpg;<br />
#X add Pic17.jpg;<br />
#X add Pic18.jpg;<br />
#X add Pic19.jpg;<br />
#X add Pic2.jpg;<br />
#X add Pic20.jpg;<br />
#X add Pic21.jpg;<br />
#X add Pic22.jpg;<br />
#X add Pic23.jpg;<br />
#X add Pic24.jpg;<br />
#X add Pic25.jpg;<br />
#X add Pic26.jpg;<br />
#X add Pic27.jpg;<br />
#X add Pic28.jpg;<br />
#X add Pic29.jpg;<br />
#X add Pic3.jpg;<br />
#X add Pic30.jpg;<br />
#X add Pic31.jpg;<br />
#X add Pic32.jpg;<br />
#X add Pic33.jpg;<br />
#X add Pic4.jpg;<br />
#X add Pic5.jpg;<br />
#X add Pic6.jpg;<br />
#X add Pic7.jpg;<br />
#X add Pic8.jpg;<br />
#X add Pic9.jpg;<br />
#P newex 192 118 76 196617 opendialog fold;<br />
#P newex 192 161 56 196617 folder;<br />
#P message 408 370 14 196617 0;<br />
#P newex 408 344 27 196617 sel;<br />
#P button 379 176 15 0;<br />
#P message 379 221 14 196617 1;<br />
#P toggle 379 244 15 0;<br />
#P newex 379 270 58 196617 metro 100;<br />
#P newex 379 198 49 196617 delay 10;<br />
#N counter;<br />
#X flags 0 0;<br />
#P newobj 379 298 66 196617 counter;<br />
#P fasten 13 2 6 1 273 237 490 237 490 337 430 337;<br />
#P fasten 13 2 0 4 273 240 440 240;<br />
#P fasten 7 0 3 0 413 391 460 391 460 239 384 239;<br />
#P fasten 7 0 0 2 413 388 456 388 456 289 412 289;<br />
#P connect 0 0 15 0;<br />
#P fasten 0 0 6 0 384 321 413 321;<br />
#P fasten 15 0 14 0 384 381 310 381;<br />
#P connect 14 0 16 0;<br />
#P connect 19 0 16 0;<br />
#P connect 17 0 16 0;<br />
#P connect 18 0 16 0;<br />
#P connect 11 0 9 0;<br />
#P connect 9 0 8 0;<br />
#P fasten 15 1 10 0 401 365 505 365 505 255 197 255;<br />
#P connect 8 0 10 0;<br />
#P connect 8 1 12 0;<br />
#P connect 12 0 13 0;<br />
#P fasten 13 0 5 0 243 242 481 242 481 170 384 170;<br />
#P connect 5 0 1 0;<br />
#P connect 1 0 4 0;<br />
#P connect 4 0 3 0;<br />
#P connect 3 0 2 0;<br />
#P connect 2 0 0 0;<br />
#P connect 6 0 7 0;<br />
#P fasten 10 1 14 1 327 284 347 284;<br />
#P window clipboard copycount 20;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/alphabeticalnumerical-sorting/#post-105695</guid>
					<title><![CDATA[Re: alphabetical/numerical sorting&#8230;]]></title>
					<link>http://cycling74.com/forums/topic/alphabeticalnumerical-sorting/#post-105695</link>
					<pubDate>Sun, 03 Jun 2007 04:18:56 +0000</pubDate>
					<dc:creator>jml</dc:creator>

					<description>
						<![CDATA[
						<p>There are two issues:<br />
1. You should be using leading zeros with your incremented pic-names, and be consistent; for ex: pic00.jpg, pic01.jpg, etc.  Otherwise (as is the case with OS interpretation), the names get interpreted &#8220;out of sequence&#8221; when read in.<br />
2. To sort, you can use sort -1 (data in ascending order) followed by &#8220;renumber&#8221;, so:<br />
(messagebox) [sort -1, renumber] <br />
should do the trick for you.</p>
<p>jl</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/alphabeticalnumerical-sorting/#post-105696</guid>
					<title><![CDATA[Re: alphabetical/numerical sorting&#8230;]]></title>
					<link>http://cycling74.com/forums/topic/alphabeticalnumerical-sorting/#post-105696</link>
					<pubDate>Mon, 04 Jun 2007 05:39:01 +0000</pubDate>
					<dc:creator>Stefan Tiedje</dc:creator>

					<description>
						<![CDATA[
						<p>Martin Ritter schrieb:<br />
> This is probably very basic, and I do appologize, but I am not sure<br />
> how to handle this. I have a coll with a bunch of (in this case)<br />
> pictures in it and would like to arrange them numerically from<br />
> Pic0.jpeg to Pic33.jpeg. &#8220;sort -1 1&#8243; doesn&#8217;t do what I want it to.<br />
> What am I missing??? The pics are nicely order in my folder on my<br />
> desktop but as soon as I read it with the &#8220;folder&#8221; object, things get<br />
> scrambled&#8230; Any ideas???</p>
<p>They are sorted, but alphabetical and not numerical. If you want it<br />
numerical you have to extract the numbers, dump it into a coll, sort it<br />
and then fill the menu&#8230;</p>
<p>The suggestion of jl is easier, just name them alphabetically&#8230;.</p>
<p>Stefan</p>
<p>&#8211; <br />
Stefan Tiedje&#8212;&#8212;&#8212;&#8212;x&#8212;&#8212;-<br />
&#8211;_____&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8211;(_|_ &#8212;-|&#8212;&#8211;|&#8212;&#8211;()&#8212;&#8212;-<br />
&#8211; _|_)&#8212;-|&#8212;&#8211;()&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8212;&#8212;&#8212;-()&#8212;&#8212;&#8211;www.ccmix.com</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/alphabeticalnumerical-sorting/#post-105697</guid>
					<title><![CDATA[Re: alphabetical/numerical sorting&#8230;]]></title>
					<link>http://cycling74.com/forums/topic/alphabeticalnumerical-sorting/#post-105697</link>
					<pubDate>Mon, 04 Jun 2007 09:51:06 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p>On 3 juin 07, at 02:42, Martin Ritter wrote:</p>
<p>> This is probably very basic, and I do appologize, but I am not sure  <br />
> how to handle this.<br />
> I have a coll with a bunch of (in this case) pictures in it and  <br />
> would like to arrange them numerically from Pic0.jpeg to  <br />
> Pic33.jpeg. &#8220;sort -1 1&#8243; doesn&#8217;t do what I want it to. What am I  <br />
> missing???<br />
> The pics are nicely order in my folder on my desktop but as soon as  <br />
> I read it with the &#8220;folder&#8221; object, things get scrambled&#8230;</p>
<p>You can extract the number with a simple regular expression. In that  <br />
case I&#8217;m just looking for a digit &#8220;\d&#8221; which appears at least once &#8220;+&#8221;.</p>
<p>ej</p>
<p>
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 53 63 127 196617 t b s clear;<br />
#P newex 304 150 99 196617 loadmess refer toto;<br />
#P user jit.cellblock 304 177 477 294 3 9 1 1 45 17 0 1 1 0 1 0 1 1 1  <br />
0 0 0 255 255 255 0 0 0 0 0 0 191 191 191 0 0 0 215 215 240 1 1 1 0 4  <br />
0 0 0;<br />
#P newex 127 176 75 196617 pack 0 s;<br />
#P newex 111 106 91 196617 t s s;<br />
#P newex 111 141 75 196617 regexp (\\d+);<br />
#P newex 111 86 47 196617 zl iter 1;<br />
#P window linecount 2;<br />
#P message 53 198 60 196617 sort -1 -1 , renumber;<br />
#P window linecount 1;<br />
#P message 53 37 135 196617 titi2.aif tutu11.aif toto1.aif;<br />
#N coll toto 1;<br />
#P newobj 127 303 56 196617 coll toto 1;<br />
#P connect 3 0 5 0;<br />
#P connect 5 0 4 0;<br />
#P connect 5 1 6 1;<br />
#P connect 4 1 6 0;<br />
#P connect 6 0 0 0;<br />
#P connect 2 0 0 0;<br />
#P connect 8 0 7 0;<br />
#P connect 9 1 3 0;<br />
#P connect 9 0 2 0;<br />
#P connect 1 0 9 0;<br />
#P fasten 9 2 0 0 174 86 231 86 231 257;<br />
#P window clipboard copycount 10;</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

