Now the sort algorithm type will be send to server in ajax function.