order list sort by functionality and error handling on treegrid