table layout added sorting