sets custom sort function which has two parameters - id_of_item1,id_of_item2
Available only in PRO Edition