Made timestamps sort properly