I want to get user records from Laravel Sentry package.
This code return user records from DB:
$customer = Sentry::findGroupByName('Users');
$customer = Sentry::findAllUsersInGroup($customer);
return View::make('admin.store.customer')->with('customer', $customer);
How to sort user records in descending order?
you can try :
to get count, and after adding a loop for order them.