struct Cell
{
  int data;
  int occur;
};

void bubbleSort(struct Cell* space)
{
  int i, j, temp;
  
  for(i = 0; i < SIZE; i++)
    for(j = SIZE - 1; j >= i + 1; j--)
      if(space[j].data < space[j-1].data)
		swap(&space[j], &space[j-1]);
  
  return;
}