live fix for sorting dates