Add draganddropsorting score calcul function