public function showHistoryAdmin() { $history = History::all()->sortByDesc('command_at'); $totalcommand = History::TotalOrder(); return view('admin.history', compact('history', 'totalcommand')); }