Allow custom sort method for object multiple