OK, I changed the results of the query using a loop, by assigning the length ot each list to that number, and then I run a query over that query, somebody showed me how to do that a while ago, but I can't remember how to query over an existing query that is in memory, how do I do that? I know it's simple, when you know how 
Looks like I am almost there, great solution with little code.
SELECT 1000 AS TempValue,camp_form_fields,camp_uid
FROM campaigns
WHERE camp_uid IN (370,372,373,374,375,376,377,378,379)
<CFLOOP QUERY="GetFieldList">
<CFSET GetFieldList.TempValue = #Len(GetFieldList.camp_form_fields)#>
</CFLOOP>
<br>
<CFDUMP VAR="#Getfieldlist#">
results:
| query |
|---|
| RESULTSET | | query |
|---|
| | CAMP_FORM_FIELDS | CAMP_UID | TEMPVALUE | | 1 | 4,1 | 374 | 1000 | | 2 | 2,1,4 | 375 | 1000 | | 3 | 1 | 378 | 1000 | | 4 | 1,2,4,5,6 | 379 | 1000 |
|
| CACHED | false |
| EXECUTIONTIME | 0 |
| SQL | SELECT 1000 AS TempValue,camp_form_fields,camp_uid FROM campaigns WHERE camp_uid IN (370,372,373,374,375,376,377,378,379) |
| query |
|---|
| RESULTSET | | query |
|---|
| | CAMP_FORM_FIELDS | CAMP_UID | TEMPVALUE | | 1 | 4,1 | 374 | 3 | | 2 | 2,1,4 | 375 | 5 | | 3 | 1 | 378 | 1 | | 4 | 1,2,4,5,6 | 379 | 9 |
|
| CACHED | false |
| EXECUTIONTIME | 0 |
| SQL | SELECT 1000 AS TempValue,camp_form_fields,camp_uid FROM campaigns WHERE camp_uid IN (370,372,373,374,375,376,377,378,379) |
I got it!! That's a great solution, thanks again for all of your help
Code:
<!--- GET THE LIST --->
<CFQUERY name="GetFieldList" DATASOURCE="#datasource#">
SELECT 1000 AS TempValue,camp_form_fields,camp_uid
FROM campaigns
WHERE camp_uid IN (370,372,373,374,375,376,377,378,379)
</CFQUERY>
<!--- LOOP OVER CHECKING LENGTH OF EACH ITEM IN LIST AND CHANGE THE VALUE IN THE QUERY --->
<CFLOOP QUERY="GetFieldList">
<CFSET GetFieldList.TempValue = #Len(GetFieldList.camp_form_fields)#>
</CFLOOP>
<!--- QUERY THE ORIGINAL QUERY AND USE ORDER TO PULL RESULTS BASED ON THE LENGTH --->
<CFQUERY dbtype="query" name="SortResults">
SELECT *
FROM GetFieldList
ORDER BY TempValue
</CFQUERY>