Permutation of Subarrays and Queries #12256