Helper function to sort a vector of strings for consistent comparison
| 108 | |
| 109 | // Helper function to sort a vector of strings for consistent comparison |
| 110 | Vector<String> sort_strings(const Vector<String> &strings) { |
| 111 | Vector<String> sorted = strings; |
| 112 | sorted.sort(); |
| 113 | return sorted; |
| 114 | } |
| 115 | |
| 116 | // Helper function to check if two vectors of strings are equal (regardless of order) |
| 117 | bool vectors_equal(const Vector<String> &vec1, const Vector<String> &vec2) { |