add tab index, search and sort