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