Return the sorting form field instead of echoing