TST: add multiframe 5D data sorting test

Might need some review.