first working model of SortByPreDefineOrder