Sort & renumber by date + reposition on page

Started by Noisy Cricket, January 18, 2016, 04:57:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Noisy Cricket

Hi all,

I've been inactive with Visio for a while but here's the thing:

I've got multiple shapes (containers) which all have date properties. I want to sort the containers by date (ascending) and update a number. Secondly, I want to reposition the containers on the page based on the location the shape has in the matrix of dates)

Any ideas?!

I was thinking of compiling an array in which the original date and ID are read, then sorted by column, new column added numbered from 1 to n and re-introduce the new numbering to the containers....

There has to be an "easier" way...

Thanks in advance

Me

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 121 (show)
Files included: 34 - 1321KB. (show)
Memory used: 1065KB.
Tokens: post-login.
Cache hits: 12: 0.00227s for 26,582 bytes (show)
Cache misses: 1: (show)
Queries used: 14.

[Show Queries]