Added an orderdBy method