Hi Marian,
seeing as how you dont have any other solutions offered yet... You could just do the fetch again based on a different key. Im not sure how else you could re-sort.
Thanks for answer - the matter is that i don't know how to do this practically - let's say i use $order as a parameter for sort_by, but how should I add a value to the variable $order?
Or have I misread your post? If you want to sort first by name, then by other attribute (when name is the same), then you can use an array in the sort order.
I don't understand only two things - what are "view parameters" and what is the "swith" :-) I have never been strong in such things, but I have to complete this, so sorry for such questions...