adding array_reindex helper

very handy helper for query results.
call for proposal if it is not make sense to you.