added flag for caching sorted features indexes during decision tree learning