changing findAll from Dao to Service. adding sorting for findAll on devices