array reindex helper

very handy on query results and working with collections.
call for proposal if not sense to you.