sort for complex swar common version