public void performSorting()
    {
      for(Racer r :  racers)
      {
          int bucketIndex = (Math.abs(r.getStart() - minStartTime)) % racers.length;

          for(int i = 0/* bucketIndex*/ ; i < bucket.length ; i++)
          {
              if(bucket[i].maxEndTime < r.getEnd())
              {
                 int score = r.getScore();
                 if(bucket[i].getRacers().contains(r))
                 {
                     score += bucket[i].count - 1;
                 }
                  else
                 {
                     score += bucket[i].count;
                 }
                 r.setScore(score);
              }
              else
              {
                  ArrayList<Racer> racerList = bucket[i].getRacers();

                  for(Racer racer : racerList)
                  {
                    if(r == racer)
                    {
                        continue;
                    }
                    else
                    {
                       if(racer.getEnd() < r.getEnd() && racer.getStart() > r.getStart())
                       {
                           int score = r.getScore();
                           r.setScore(++score);
                       }
                    }
                  }
              }



          }
      }
    }