get_next_obj_id
* Get next object based on sorting type
*
* @param ret_obj_id [out] Next object id found by sorting type
*
* @returns 0 if found, 1 if no more objects and -1 if error
*
* @todo Check for MIO implementation of index NEXT or import from clovis
*/
int get_next_obj_id(struct mio_obj_id* ret_obj_id);```
Problem We need to check every possible next key to make sure we are not skipping any keys