add sort feature for find_all_by_