sort by type and sie tests working