Description
cas-catalog allows for metadata ingest transactions to spread across multiple catalogs such that metadata for a given transaction can end up in one or more catalogs. This requires a lot of memory heap space when querying on such types on ingests when results must be sorted and paged (because all the transactionIds and transactionDates must be loaded for all results so they can be sorted, then the give page is found and returned) . . . if you know you have configured your dictionaries such that "spread" ingest will never occur, this patch will allow you to configure cas-catalog to optimize it queries by not sorting the results across multiple catalog response.