sorted submitting data