change index for FlowMeta
change functions to inline function
make sort array process every quick sort in one function call
update files to remove compile warning
add clean array function
update comment / clean array