Demonstration of an ordered array in java with basic operation (insert, search and delete)