Information sorting and hypothesis formation