Create Sort Colors(Two pass version)