Indexed file is not the same as sorted file. In COBOL this is tricky concept. Read more.
COBOL assumed decimal and dot difference given in this post. A useful answer to your project and interviews as well.
Simple COBOL search example useful to use in your projects.
The COBOL add and subtract given idea to choose format based on your program requirement. Useful for COBOL programmers.