model_server/rtl/src/RTL.h.cxx
// call this routine before using rtl_compare_elems to sort the list
call this routine before using rtl_compare_elems to sort the list
call this routine before using rtl_compare_elems to sort the list
int rtl_init_sort(RTLNodePtr rtl_node)
{
    rtl_compile_criteria(rtl_node->get_sort_spec());
    sort_format_spec = rtl_node->get_format_spec();
    sort_rtl_node = rtl_node;
    rtl_sort_array = &rtl_node->rtl_contents ();
    return rtl_sort_array->size ();
}
int rtl_init_sort ( RTLNodePtr rtl_node ) { rtl_compile_criteria ( rtl_node -> get_sort_spec ( ) ) ; sort_format_spec = rtl_node -> get_format_spec ( ) ; sort_rtl_node = rtl_node ; rtl_sort_array = & rtl_node -> rtl_contents ( ) ; return rtl_sort_array -> size ( ) ; }
call this routine before using rtl_compare_elems to sort the list
call this routine before using rtl_compare_elems to sort the list