fix total calculation
fix athlete qualification logic and change sort to qualify, then total