How do i check constants in ruby are declared alphabetically or not. (Alphabetical means ADAPTERS, CODESET, EXPLORER)
I have extracted the elements which are capital but now. Unable to compare and i need line number also to tell line 3 is not alphabetized.