QUERY PLAN
Sort (cost=1.93..1.95 rows=9 width=156)
Sort Key: "order"
-> Seq Scan on tbl_departments (cost=0.00..1.79 rows=9 width=156)
Filter: (id = ANY ('{4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,9,9,9,8,6,6,6,7,10,10,10,10,10,10,10,10,10,10}'::integer[]))