sorting dates in the wrong place
fix widget sizing