Change type ID to INT for better sort