slackr/sslenforcer — pull request #1 by texaswilliam (2013-12-14 08:00:24+00:00)
Title: Fixing Up prioritize_states()

I had a hankering to fix this function. I'm interested in looking at the rest of the codebase, as the extension works well, but this is what I happened upon first.

A note: reverse() doesn't actually sort; it just reverses the array wholesale.