#!/bin/bash

awk '{ key=1 }
   /-infrastructure-users$/ { key += 10 }
  /-credentials-/ { key += 100 }
  { print key "\t" $0 }' |
sort -n