Text this: Optimizing n-1 contingency rankings using a nature-inspired modified sine cosine algorithm