Moved the library grouping and sorting to code, allowing the ability to filter/search.