Support sort by multiple attributes