I'm certainly no professional historian, but since there aren't any other answers in here for you after 8 hours, I can at least give you a rundown.
The short answer is it depends on the camp. When most people hear the term "concentration camps" they immediately think of larger camps such as Auschwitz (which was really 3 camps) and Dachau, which had the space and design to house "workers" in separate barracks that were mainly divided into men's and women's/children's sections, but were also further subdivided into smaller groups depending on the area they were shipped from (literally like cattle) or their criminal "designation" (War criminals, thiefs, "race-mixers", homosexuals, etc). In smaller camps however, there wasn't really room to do this type of separation, nor were they constructed with the same design or function as Auschwitz. Furthermore, each camp Kommandant (warden) had their own idea on how their camp should operate, and since the camps (thankfully) did not exist for a relatively long amount of time, whatever precedent was created sort of stuck for that camp.
I'm sorry for the incomplete answer. Hopefully somebody with more experience in the subject could give you a more detailed and accurate answer.
For anybody interested in the bureaucracy behind the Nazi concentration camps I recommend the following books: The Theory and Practice of Hell by Eugen Kogon and Auschwitz by Laurence Rees.
Edit: I completely forgot to mention in my original response the " badge" system the camps incorporated to distinguish between "criminals". Most everybody who have some familiarity with the Holocaust is aware of the yellow star of David badges Jews were forced to wear on all of their clothes to identify themselves, but I'm not sure how familiar most people are with the other badges people were forced to wear. For example, homosexuals in concentration camps were often forced to wear pink triangle badges. Likewise, war criminals, Roma Gypsies, and other designations all had their own distinct badge that they had to wear so they could always be identified (and thus grouped or segregated) quickly. Also, individuals were not limited to more than one badge. Again, this was a practice that was typically carried out in your larger more bureaucratically establed camps, and was not necessarily the " standard" for all Nazi concentration camps.
I have never posted here before, just actively reads so I hope this is an appropriate answer.
In the camps there were separate sections for male, females, and children. Within the camp prisoners were also segregated by political prisoners, Jews, homosexuals, Jehovah’s Witnesses and Roma. They had some sort some sort of marker to identify what group they were in. Like these triangles
Some people who worked for the camp as prisoners were also segregated, like ‘Kapos’. They were prisoners that a German commander would appoint to supervise the other prisoners. But not all camps were the same. Some had females with their children. And twins were also separated so the Doctors could perform experiments.