order by routine_definition to ensure sort ordering over time?