Repotting orchid with mealybug and spider mite infestation, sunburn and bacterial infection

This phalaenopsis orchid is infested with mealybugs and spider mites. It also has a bad case of sunburn on the leaves and some bacterial infection. Here's how I cleaned it up and treated the orchid before repotting it.