{"id":826,"date":"2009-10-29T08:00:50","date_gmt":"2009-10-29T08:00:50","guid":{"rendered":"http:\/\/www.mjtnet.com\/blog\/?p=826"},"modified":"2009-10-29T09:36:05","modified_gmt":"2009-10-29T09:36:05","slug":"quick-sort-routine","status":"publish","type":"post","link":"https:\/\/www.mjtnet.com\/blog\/2009\/10\/29\/quick-sort-routine\/","title":{"rendered":"Quick Sort Routine"},"content":{"rendered":"<p>Back in 2006 <a href=\"http:\/\/www.mjtnet.com\/usergroup\/viewtopic.php?t=3414\">I posted an example of a Bubble Sort or Insert Sort<\/a> algorithm.  In <a href=\"http:\/\/www.mjtnet.com\/usergroup\/viewtopic.php?p=25502\">this more recent forum post<\/a>, azzkicker_9002 asks for help creating a Quicksort function which is faster for longer lists.  So I took the example <a href=\"http:\/\/www.algorithmist.com\/index.php\/Quicksort_non-recursive.php\">found here on the alogorithmist website<\/a> and converted it to MacroScript.  I tried to post the code here but it screwed up WordPress, so you&#8217;ll have to <a href=\"http:\/\/www.mjtnet.com\/usergroup\/viewtopic.php?p=25502#25502\">head on over to the forum<\/a> to see it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Back in 2006 I posted an example of a Bubble Sort or Insert Sort algorithm. In this more recent forum post, azzkicker_9002 asks for help creating a Quicksort function which is faster for longer lists. So I took the example found here on the alogorithmist website and converted it to MacroScript. I tried to post [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/826"}],"collection":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/comments?post=826"}],"version-history":[{"count":12,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/826\/revisions"}],"predecessor-version":[{"id":842,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/826\/revisions\/842"}],"wp:attachment":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/media?parent=826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/categories?post=826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/tags?post=826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}