APIv3 - Improve array-based apis to support sorting and multiple operators