CRM-13675 add sorting to membership form