ordered input items by date, prevent overlapping labels, change z-index of timeline dots