Text this: Optimizing N-1 Contingency Rankings Using a Nature-Inspired Modified Sine Cosine Algorithm