In DO_PREPARE_OUTPUT method you will not be able to set the value through BOL because the attribute you added is a value attribute. It would be advisable if you explore the possibility in GET_XYZ method only.
Also could you elaborate more on the issue of Sorting and/or filtering a bit more.
Regards,
Harshit