For the purpose of preventing or minimizing disciplinary problems, the local school board may classify and group pupils upon consideration of their social attitudes, their amenability to discipline, their hostility toward the school environment and their health, morals, cleanliness and habits of personal behavior.