done switch databound and sorting added