add multi_sort method