How to loop through entries by importance?
Yes, you can use .order with any custom field, an example is below.

craft.entries.section( 'sectionHandle' ).order( 'customFieldHandle' )

For more info see the docs
https://craftcms.com/docs/templating/craft.entries#order