Or simpler add 1 file as integer and use that as the sort value number like 10,20,30 or depending 100,200,300 then you can stick in between later. <div><br></div><div>--jerry<br><br><div class="gmail_quote">On Tue, Mar 13, 2012 at 8:52 AM, Joel Willers <span dir="ltr">&lt;<a href="mailto:joel.willers@sigler.com">joel.willers@sigler.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You could do sorting in the .tpl.php, if need be. Also, you could call the view programmatically, creating an array of sort terms, then filter by the node type, stepping through a loop of each term.<br>

<br>
Views is quite robust in capabilities, but specific search order isn&#39;t as kind. I suppose you could try something a bit more funky, building a content type that just has a weight and another content type, then use relationships to display the view. Or maybe add a weight field to each existing content type, setting a default to each one, then sorting by weight, like 1 for news, 2 for blog, 3 for page. Taxonomy could also do some fun stuff with sorting.<br>

<br>
Hope that gives you some ideas.<br>
<br>
Joel<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a> [mailto:<a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a>] On Behalf Of DTH<br>
Sent: Monday, March 12, 2012 3:43 PM<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Subject: [support] Views: sort by arbitrary field value<br>
<br>
Say I have a view that lists all the nodes on my site. Say I have three content types: page, news, blog.<br>
<br>
If I sort by content type, I can only sort by ascending or descending<br>
order: e.g. &quot;blog, news, page&quot; or &quot;page, news, blog&quot;.<br>
<br>
What do I need to do if I want the articles to be sorted in an order of my choosing, say &quot;news, blog, page&quot;?<br>
<br>
(I guess I could create separate views for each content type and attach them, but what if I had thirty content types, say, and added more regularly)<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<span class="HOEnZb"><font color="#888888">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="border-collapse:collapse"><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="color:rgb(0,0,0);font-family:arial;font-size:small;border-collapse:collapse"></span></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Gerald Klein DBA<u></u><u></u></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<a href="http://geraldklein.com/" style="color:rgb(17,85,204)" target="_blank">www.geraldklein.com</a><u></u><u></u></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<a href="mailto:jk@zognet.com" style="color:rgb(17,85,204)" target="_blank">jk@zognet.com</a><u></u><u></u></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<a value="+17085990352" style="color:rgb(17,85,204)">708-599-0352</a><u></u><u></u></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
</p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Linux registered user #548580</p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">The below contributed statements are well....funny and I apologize if someone is offended.....not.</p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="color:rgb(86,101,121);font-family:sans-serif;font-size:12px;line-height:19px;text-align:left;background-color:rgb(252,253,254)">Unix is user-friendly. It just isn&#39;t promiscuous about which users it&#39;s friendly with. - Steven King</span></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font color="#222222" face="arial, sans-serif">Frustrated Windows users have two options. </font></p>
<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font color="#222222" face="arial, sans-serif">1. Resort to throwing computers out of windows.</font></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<font color="#222222" face="arial, sans-serif">2. Resort to throwing Windows out of computers</font></p><p></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Ever realized that if you play Windows CD backwards you&#39;ll hear satanic messages? </p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
But that&#39;s nothing! If you play it forward it will install Windows.</p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font color="#000080">&quot;Ubuntu&quot; -- an African word, meaning &quot;Slackware is too hard for me&quot;.</font></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="color:navy"><br></span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="color:navy"><span style="color:rgb(34,34,34)"></span></span></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">The day Microsoft makes a product that doesn&#39;t suck, is the day they make a vacuum cleaner.</p>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><span style="color:navy"><font color="#222222"><br></font>Linux is like a wigwam: no gates, no windows and Apache inside.</span><span style="color:black"> <i>(Chinese proverb c. 910 B.C.)</i></span></div>
</span><p style="color:rgb(0,0,0);font-family:arial;font-size:small"></p><p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><u></u></p><p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<u></u> <u></u></p><p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">&quot;being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed&quot; – Unknown<u></u><u></u></p>
<p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><u></u> <u></u></p><p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Customer: I&#39;m running Windows...<br>Helpdesk: Yes...<br>Customer: ...and now my computer stopped working !<br>Helpdesk: Yes, you already said that.<u></u><u></u></p><p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<u></u> <u></u></p><p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">The box said &quot;Requires Windows 98 or better.&quot;<u></u><u></u></p><p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
So I installed Linux.<u></u><u></u></p><p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><u></u> <u></u></p><p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
I ran the Microsoft Malicious Software Removal tool<u></u><u></u></p><p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">but Internet Explorer is still installed on my computer.</p>
<p style="color:rgb(0,0,0);font-family:arial;font-size:small"></p><p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></p><p style="color:rgb(0,0,0);font-family:arial;font-size:small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br></p><p></p><br>
</div>