Reformatting libraries and sorting alpha