Hi,
i mean have u written any code in get method of that attribute to populate value.
if yes then ZZFIELD will contain no value ant it wont sort.
you can check while debugging this RESULT context node try to check the value of ZZFIELD Attribute.
- me->typed_context->RESULT->collection_wrapper->sort( iv_attr_name = if_bol_col_sorting=>custom
- iv_sort_order = lv_sort_order
- iv_stable = lv_stable
- iv_use_text_relation = lv_stable
- * iv_sort_callback = lo_sort
- ).