Added some improovements

Added auto sort option for table