HPCC-11089 Add inline functions to expose the alreadySortedLocally flags

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>