Bring in xhr and sort