<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
	<channel>
		<title>Sorting modification worked, but...</title>
		<link>/blogentry/194914</link>
		<atom:link href="https://www.lotterypost.com/rss/blogcomments/194914" rel="self" type="application/rss+xml" />
		<description>hypersoniq's Blog: Sorting modification worked, but...</description>
		<dc:language>en-us</dc:language>
		<generator>Lottery Post RSS Generator</generator>
		<item>
			<title>Comment #1</title>
			<link>/blogentry/194914#c283312</link>
			<guid isPermaLink="true">/blogentry/194914#c283312</guid>
			<pubDate>Sat, 04 Oct 2025 13:41:18 GMT</pubDate>
			<dc:creator>hypersoniq</dc:creator>
			<description><![CDATA[<p>I don&#x27;t know where MDR came from... tired I guess. The actual variable name is MRA, which stands for &#x22;Most Recent Appearance&#x22;.</p>]]></description>
			<category>hypersoniq</category>
		</item>
		<item>
			<title>Original Blog Entry: Sorting modification worked, but...</title>
			<link>/blogentry/194914</link>
			<guid isPermaLink="true">/blogentry/194914</guid>
			<pubDate>Sat, 04 Oct 2025 07:54:23 GMT</pubDate>
			<dc:creator>hypersoniq</dc:creator>
			<description><![CDATA[<p>After a morning of frustration chasing down error messages and trial/error placement of the sort. It did not end up working where I thought it should go. It ends up I had to read the per column data before printing, NOT before storage... otherwise the data did not retrieve properly.<br /><br />Because the print buffer was a dictionary data structure, the sort ended up as a one line operation using a lambda function anyway. It turns out it was easier to do in a lambda while getting the desired result. -X[&#x27;count&#x27;] and X[&#x27;MDR&#x27;] were the sort criteria that ended up providing the desired result. The default behavior for sorting is ascending, the minus sign was added to the count to indicate descending.<br /><br />Running the version 5 before the version 6 allowed verification of data integrity via place by place comparison.<br /><br />The end result is each column sorted by frequency descending, and where those frequencies are the same, they are sorted by draws since last appearance ascending.<br /><br />The 14 days of the paper play are up on this coming Wednesday, but the results were not very impressive so far.<br /><br />On the bright side, it worked as easily when the input was changed to a pick 5 file.<br /><br />This ended up being more of a challenge than I thought it would be, but those end up being the entertaining ones when the run finally produces no syntax or semantic errors. Ended up adding 20 lines, but many of those are comments describing the function of each step. The program still runs in under 10 seconds!<br /><br />The goal was to help with the long standing column synchronization problem. Time will tell on that goal.... &#x5b;&#xa0;<a href="/blogentry/194914">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Blog Entry</category>
			<category>hypersoniq</category>
			<wfw:comment>https://www.lotterypost.com/blogentry/194914</wfw:comment>
		</item>
	</channel>
</rss>

