Fixed issue with sorting assets