add sortBy support for multi-fields