[NF] New fns for ordering and indexing arrays of objects
[NF] Whitespace controll for Smarty