Sort problems for submit form