Sorting ActiveRecord results byenum values (in SQL) is a great way to model things like a status on an ActiveRecord model. It is highly recommended to use a Hash to explicitly define theenum values. If you were to change the order or remove options, you would break the reference mapping.
Sort: