Update exercise.erb

Sorting submissions before process them.