Add $order parameter to the findBy() method in the Record component