put Comparator class on Query export
added ArrayExecutor and tests
added Executor