Added sortBy jQuery method