sort the stories by bv
added sorting for stories