mrhow@ MySQL version is 5.1.30
PeterB@ Yes, but it doesn`t work either.
Now I changed it with tv name, but it produce only four lines of "No documents found".
I will try to explain again what I need
I have four TV (A, B, C, D). For example in one page I have a ditto call which take different items and all of them are with A, B, C, D variables. When I use:
&orderBy=`My_TV_Name ASC` it orders first A items, B second and so on, but this is just half of the job.
Imagine it is a list which should look and be order like this:
1. Item with TV A - created today
2. Item with TV A - created yestarday
3. Item with TV A - created before two weeks
4 Item with TV B - created today
5 Item with TV B - created today
6 Item with TV B - created today
7 Item with TV C - created today
8 Item with TV C - created today
9 Item with TV C - created today
10 Item with TV D - created today
11 Item with TV D - created before two days
12 Item with TV D - created before two days
So the results is first sorting by TV and second sorting of the first sorted items by createdon or date.