further styling, added sorted meta data for use on api calls