surahsByLengthDesc property
Get surahs sorted by length (descending)
Implementation
List<Surah> get surahsByLengthDesc {
final sortedSurahs = List<Surah>.from(surahs);
sortedSurahs.sort((a, b) => b.numberOfAyahs.compareTo(a.numberOfAyahs));
return sortedSurahs;
}