Framework for sorting assets by collection