color dominance sort + rainbow sort  method + class rights change for mock