completed sorted table model