Handle multiple sort items