add select orderby distinct function for queryable.