Sort submissions by data