I have a range of regular pages, how do I sort them based on a parameter common to all those pages?
psudo code:
{{ $filtered_set := (where site.RegularPages “Section” “=” “something”) }}
// $sorted_set = $filtered_set sorted in ascending order of $filtered_set.Params.foo.bar
{{ range $elem_index, $elem_val := $sorted_set }}
{{ $elem_val.Title}} //Displayed in the order sorted earlier
{{end}}