Use generic sort wrapper