sort svg elements before building sprites