Application of social stratification to real-world situations