Prisoners, alleged members of different militant organisations, are kept in separate groups based on the militant outfit they belonged to, the inspector general of prisons says.