fixed a bug for sorting date column
fixed a vacuum bug