[#32373] Use magic set and get methods in ordering form field (Fix #2291)