Added: TextureSet.sort(...) for sorting using a comparator.