I need to sort the context nodes, based on 2 attributes of the context, one attr in ascending and the other attr in descending. I referred to the link in wiki http://wiki.sdn.sap.com/wiki/display/Snippets/Tablesorterbymultiplecolumns(WebDynproJava). And as per MultiAttributesNodeComparator.java class given in wiki, I am able to sort the context nodes based on 2 attributes but I can only sort both columns either ascending or descending. I need to sort the context element, with first attribute ascending and second attribute descending. I am using Webdynpro 7.1 .