xenon: use fixed size arrays

Reviewed By: @jano

Differential Revision: D1479916
Convert array to HNI

Summary: #fixes 3648

array_multisort has not been moved to HNI because it requires mixed variadic arguments, which is currently not supported by HNI.

Reviewed By: @ptarjan

Differential Revision: D1551812