can see results but not sorting properly