You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, we need to keep a value at the end of a sorted list regardless its value.
For example, I have a list of movie types like ['comedy', 'romance', 'thiller', 'other'] and I need to keep the value 'other' always at the end even if I sort.
The text was updated successfully, but these errors were encountered:
Thanks a lot, @lucascaton !! 😄
So, before your answer, I forked and worked on a solution in the gem itself. It's working for me, but I'm having some problems when I try to execute RSpec. If you can help me with this, I can commit it.
Sometimes, we need to keep a value at the end of a sorted list regardless its value.
For example, I have a list of movie types like ['comedy', 'romance', 'thiller', 'other'] and I need to keep the value 'other' always at the end even if I sort.
The text was updated successfully, but these errors were encountered: