added filtering and sorting to band api endpoint