/** * Get all device status ordered by the specified column. * @param String $column A column from a database table. * @return Collection Collection of device status. */ public function orderBy($column) { return \App\DeviceStatus::orderBy($column)->get(); }