Custom post order (by custom param)

Hello! I have a Section ‘press’ and I have the code
{{ range $index, .Paginator.Pages }}{{ .Render "press_section.li" }}{{ end }}{{ range (where .Site.RegularPages "Section" "press") }}{{ end }}

In each post file, I have the parameter - in_top (make 0 or 1). I need to generate the content with ordering by parameter in_top (desc) and then - by date (desc). How can I do that?