Don't need two maps in there

Bit o' code tidying.
Use SortedSet for asset sets

No need to remember to call sort when the order of assets is important.