XPTL - styling + toggle sorting functionality