sort assets deterministically