You made a 12 dimensional array. That is not what you want. Rarely do you need more than 2, this problem really only needs two, rows and columns. You have Rows, Columns, Pages, Books, Shelves, Bookshelves, Aisles, Libraries, Towns, States, Countries, and Planets.
There are many ways to go about doing this. They will all involve some type of sorting mechanize, Maybe calling the coerce in range for the 12 different ranges, then using the conditional concatenating to build them into the rows. Here is a quick example on getting data in a range. This is a snippet and can be brought into LabVIEW as executable code.
Also here is some free online training to explain the basics of LabVIEW, but I assume that's why you are taking the course. Links at the bottom.
https://decibel.ni.com/content/docs/DOC-40451