add a basic sorted table