displayOrderByType
example code