sorted history data zoom to the latest data and diffrent icon for older data