List ordering with custom code 117 Postsderalex 4 years ago2TopicHey everyone,I have a list and would like to write my own little script to order items. Is there any field for ordering section where I can put in some custom code? I've tried BeforeRender and field 42 - both don't work.Thanks!Alex 4229 PostsKadministrator 4 years ago0Level 1beforerender should work, but I presume you will need to put it in the search form. If your changes can be done just with sql you cna use search query field (it has order section) 117 Postsderalex 4 years ago0Level 1Thanks Klas!How do I have to use BeforeRender? Just return a value for every item? Like:$myorder_id = .....;return $myorder_id;Or do I have to read out and rebuild the item-ordering the way i want?