Added order by lastname to database search in self.by_state method