a3: extra credit 3, sorting scores