sorted history added