fixed distinct sorting and combined search in user cp