musicdata.sort() Exceptions

used sorted() on next line instead