ExtendedDataTable must be inside a form for sort to work (otherwise you get a some JS error about null form when you try to sort).
More of a report, since I haven't seen a warning in documentation. A bug?
any Component, that uses AJAX needs to be within a form (h:form or a4j:form)
|Retrieving data ...|