sort multiple sort-only elements correctly