.
 fixbug: sort uniform by type