sort submissions based on field