# File lib/tapkit/control/sortordering.rb, line 10 def compare_ascending( left, right ) if left > right then 1 elsif left < right then -1 else 0 end end