Ordered data passed to view then to template