sort strokes according to datetimes not random IDs