form2tf more reliable sorting